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


ICommand.Category Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IC > ICommand Interface > ICommand.Category Property
ArcGIS Developer Help

ICommand.Category Property

The name of the category with which this command is associated.

[Visual Basic .NET]
Public ReadOnly Property Category As String
[C#]
public string Category {get;}
[C++]
HRESULT get_Category(
  System.String* categoryName
);
[C++]
Parameters
categoryName [out, retval]

categoryName is a parameter of type BSTR*

Product Availability

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

Remarks

Category determines where the command will appear in the Commands panel of the Customize dialog.

When implementing ICommand to create a custom command, use the Category property to set the category of this command.

See Also

ICommand Interface