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


IToolbarItem2.ItemObject Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

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(
  LPUNKNOWN* ppObject
);
[C++]

Parameters ppObject [out, retval] ppObject is a parameter of type LPUNKNOWN

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