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


IGPMessageManager.SetMessageText Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGPMessageManager Interface > IGPMessageManager.SetMessageText Method
ArcGIS Developer Help

IGPMessageManager.SetMessageText Method

Set a given message from the message text to the messages object.

[Visual Basic .NET]
Public Sub SetMessageText ( _
    ByVal Type As esriGPMessageType, _
    ByVal ID As Integer, _
    ByVal msg As String, _
    ByVal pos As Integer, _
    ByVal msgs As IGPMessages _
)
[C#]
public void SetMessageText (
    esriGPMessageType Type,
    int ID,
    string msg,
    int pos,
    IGPMessages msgs
);
[C++]
HRESULT SetMessageText(
  esriGPMessageType Type,
  long ID,
  BSTR msg,
  long pos,
  IGPMessages* msgs
);
[C++]
Parameters
Type [in]

Type is a parameter of type esriGPMessageType ID [in]
ID is a parameter of type long msg [in]
msg is a parameter of type BSTR pos [in]
pos is a parameter of type long msgs [in]
msgs is a parameter of type IGPMessages*

Product Availability

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

See Also

IGPMessageManager Interface