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


IGPMessageManager.AddMessage1Args Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPMessageManager.AddMessage1Args Method

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

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

Parameters Type [in]
Type is a parameter of type esriGPMessageType ID [in]
ID is a parameter of type long arg1 [in]
arg1 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