This document is archived and information here might be outdated.  Recommended version.


ToolbarItem Class (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Classes > T > ToolbarItem Class
ArcGIS Developer Help

ToolbarItemClass Class

ToolbarItems used by the ToolbarControl.

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 (esriSystem)
IToolbarItem Provides access to members that control ToolbarControl items.
IToolbarItem2 Provides access to members that control ToolbarControl items.