ArcObjects Library Reference  (SystemUI)    

ICommand.Category Property

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

[Visual Basic 6.0]
Property Category As String
[Visual Basic .NET]
Public ReadOnly Property Category As String
[C#]
public string Category {get;}
[Java]
public String getCategory()
throws
    IOException,
    AutomationException
[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.

[Visual Basic 6.0]
Private Property Get ICommand_Category() As String
  ICommand_Category = "MyCustomTool"
End Property 

See Also

ICommand Interface

Example

ICommand Example

 


Feedback Send feedback on this page