This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarItem2 Interface > IToolbarItem2.ItemObject Property (ArcObjects .NET 10.4 SDK) |
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
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.