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


IToolbarItem2.ItemObject Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarItem2 Interface > IToolbarItem2.ItemObject Property
ArcGIS Developer Help

IToolbarItem2.ItemObject Property

The Command, Tool, ToolControl, ToolbarMenu, ToolbarPalette or MultiItem used by the item.

[Visual Basic .NET]
Public ReadOnly Property ItemObject As Object
[C#]
public object ItemObject {get;}
[C++]
HRESULT get_ItemObject(
  IUnknown Pointer* ppObject
);
[C++]
Parameters
ppObject [out, retval]

ppObject is a parameter of type IUnknown*

Product Availability

Available with ArcGIS Engine.

Description

Returns the ICommand, ITool, IToolControl, IMultiItem, IToolbarMenu2 or IToolbarPalette object from the ToolbarItem. Use the Type property to determine the type of object to be returned before using the ItemObject property.

See Also

IToolbarItem2 Interface