This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IS > IStatusBar Interface > IStatusBar.Message Property (ArcObjects .NET 10.4 SDK) |
The message displayed by one of the status bar panes.
[Visual Basic .NET] Public Function get_Message ( _ ByVal pane As Integer _ ) As String
[Visual Basic .NET] Public Sub set_Message ( _ ByVal pane As Integer, _ ByVal Message As String _ )
[C#] public string get_Message ( int pane );
[C#] public void set_Message ( int pane, string Message );
[C++]
HRESULT get_Message(
long pane,
BSTR* Message
);
[C++]
HRESULT put_Message(
long pane,
BSTR Message
);
[C++]
Parameters pane [in] pane is a parameter of type long Message [out, retval] Message is a parameter of type BSTR pane [in] pane is a parameter of type long Message [in] Message is a parameter of type BSTR
For valid values for pane, refer to the esriStatusBarPanes constants.
The Message property allows you to display text in the status bar. Most commonly, the main pane (esriStatusMain, value 0) is used for the display of messages; however, any pane can be used.