![]() |
This document is archived and information here might be outdated. Recommended version. |
| ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Classes > T > ToolHost CoClass (ArcObjects .NET 10.4 SDK) |
Use this class to host pure C++ tool implementations in a Toolbar.
The ToolHost object is used when developing with the C++ API. C++ developers are unable to create new COM objects, so the CommandHost and ToolHost objects can be used to create custom commands and tools as follows:
The CAoCommandBase and CAoToolBase abstract classes and the AoToolbarAddCommand and AoToolbarAddTool functions are only intended to be used on UNIX and Linux platforms.
| Interfaces | Description |
|---|---|
| ICommand | Provides access to members that define a COM command. |
| ICommandHost | Provides access to the ICommandHost Interface. |
| ITool | Provides access to members that define a tool. |