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


IItemDef.ID Property (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 > IItemDef.ID Property
ArcGIS Developer Help

IItemDef.ID Property

The CLSID or PROGID of the item being defined.

[Visual Basic .NET]
Public WriteOnly Property ID
[C#]
public void ID {set;}
[C++]
HRESULT put_ID(
  BSTR 
);
[C++]
Parameters
 [in]

is a parameter of type BSTR

Product Availability

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

Remarks

The IDproperty is a string representing either the CLSID or ProgID of the coclass for a command or menu. COM coclasses are identified by a globally unique identifier (GUID). The GUID for a coclass is called class ID (CLSID). A ProgID is a text alias for a CLSID; the ProgID is a string composed of the project name and the class name of the coclass.


To find the CLSID, ProgID, and subtype of a built-in command or menu in ArcMap or ArcCatalog, refer to the following technical documents:
ArcObjects Developer Help > Technical Documents > ArcMap: Names and IDs of commands and commandbars
ArcObjects Developer Help > Technical Documents > ArcCatalog: Names and IDs of commands and commandbars

See Also

IItemDef Interface