This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IC > ICommand Interface > ICommand.Category Property (ArcObjects .NET 10.5 SDK) |
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
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.