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


ICommand.Category Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SystemUI)  

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(
  BSTR* 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