ArcObjects Library Reference  (Controls)    

ToolbarItem Class

ToolbarItems used by the ToolbarControl.

ToolbarItem is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

Available with ArcGIS Engine.

Description

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.

Extended Error Information

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

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.