This document is archived and information here might be outdated. Recommended version. |
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*
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.