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

ICommandItem.Message Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IC > ICommandItem Interface > ICommandItem.Message Property
ArcGIS Developer Help

ICommandItem.Message Property

The status bar message for this command item.

[Visual Basic .NET]
Public Property Message As String
public string Message {get; set;}

Product Availability

Available with ArcGIS Desktop.


Message is a string that appears as the message in the statusbar of the application when the mouse passes over the command item.


You can modify Message for VBA macro items but not built-in commands and UIControls. Setting this property for a built-in command or UIControls will return "This method cannot be called on built in commands" run-time error.

See Also

ICommandItem Interface