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


IStatusBar.Message Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IS > IStatusBar Interface > IStatusBar.Message Property
ArcGIS Developer Help

IStatusBar.Message Property

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,
  System.String* Message
);
[C++]
Parameters
pane [in]

pane is a parameter of type long Message [in]
Message is a parameter of type BSTR pane [in]
pane is a parameter of type long Message [out, retval]
Message is a parameter of type BSTR*

Product Availability

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

Description

For valid values for pane, refer to the esriStatusBarPanes constants.

Remarks

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.

See Also

IStatusBar Interface