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.