ArcObjects Library Reference  (SystemUI)    

ICommand.Message Property

The statusbar message for this command.

[Visual Basic 6.0]
Property Message As String
[Visual Basic .NET]
Public ReadOnly Property Message As String
[C#]
public string Message {get;}
[Java]
public String getMessage()
throws
    IOException,
    AutomationException
[C++]
HRESULT get_Message(
  BSTR* Message
);
[C++]

Parameters

Message [out, retval]

  Message is a parameter of type BSTR

Product Availability

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

Remarks

When implementing ICommand to create a custom command, use the Message property to set the message string that appears in the statusbar of the application when the mouse passes over the command.

[Visual Basic 6.0]
 Private Property Get ICommand_Message() As String
   ICommand_Message = "This is my custom tool"
 End Property 

See Also

ICommand Interface

Example

ICommand Example

 


Feedback Send feedback on this page