ArcObjects Library Reference (GeoDatabase)  

IGPMessageManager.AddMessageText Method

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

[Visual Basic .NET]
Public Sub AddMessageText ( _
    ByVal Type As esriGPMessageType, _
    ByVal ID As Integer, _
    ByVal msg As String, _
    ByVal msgs As IGPMessages _
)
[C#]
public void AddMessageText (
    esriGPMessageType Type,
    int ID,
    string msg,
    IGPMessages msgs
);
[C++]
HRESULT AddMessageText(
  esriGPMessageType Type,
  long ID,
  BSTR msg,
  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 msgs [in]

  msgs is a parameter of type IGPMessages

Product Availability

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

See Also

IGPMessageManager Interface