This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Classes > T > ToolbarItem Class (ArcObjects .NET 10.5 SDK) |
ToolbarItems used by the ToolbarControl.
ToolbarItem is a non-creatable object. References to non-creatable objects must be obtained through other objects.
A ToolbarItem represents a Command, Tool, ToolControl, Menu or Palette item on the ToolbarControl. These items generally appear as buttons however, a ToolControl will provide its own window, and will typically be a combo box.
Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.
Interfaces | Description |
---|---|
ISupportErrorInfo | Indicates whether a specific interface can return Automation error objects. |
IToolbarItem | Provides access to members that control ToolbarControl items. |
IToolbarItem2 | Provides access to members that control ToolbarControl items. |