ArcObjects Library Reference (SystemUI)  

IItemDef Interface

Provides access to members that define an item on a commandbar.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

The IItemDef interface is used to define a command item that's on a toolbar or menu. This interface specifies the identifier (CLSID or ProgID) of the command and its subtype if there is one. It also determines whether this item begins a group on the toolbar or menu. Use the IItemDef interface with the GetItemInfo method on either the IToolbarDef or the IMenuDef interface to define the items on the toolbar or menu.

Members

Description
Write-only property Group Indicates if the defined item should start a group on the menu or toolbar.
Write-only property ID The CLSID or PROGID of the item being defined.
Write-only property SubType The subtype of the item being defined.

See Also

IToolBarDef.GetItemInfo Method