ArcObjects Library Reference (SystemUI)  

ICommand.Caption Property

The caption of this command.

[Visual Basic .NET]
Public ReadOnly Property Caption As String
public string Caption {get;}
HRESULT get_Caption(
  BSTR* Caption


Caption [out, retval]   Caption is a parameter of type BSTR

Product Availability

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


The Caption property of a command is the string that appears when the command is placed on a command bar.

When implementing ICommand to create a custom command, use the Caption property to set the caption of the command.

See Also

ICommand Interface

.NET Related Topics

Building a context menu with dynamic command items |