This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IC > ICommandItem Interface > ICommandItem.Message Property (ArcObjects .NET 10.5 SDK) |
The status bar message for this command item.
[Visual Basic .NET] Public Property Message As String
[C#] public string Message {get; set;}
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.