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

IItemDef Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > II > IItemDef Interface
ArcGIS Developer Help

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.


Name 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.

Classes that implement IItemDef

Classes Description

See Also

IToolBarDef.GetItemInfo Method