ArcObjects Library Reference (GeoDatabase)  

IGPMessages.GetMessage Method

Provides a message object from the specified location.

[Visual Basic .NET]
Public Function GetMessage ( _
    ByVal Index As Integer _
) As IGPMessage
[C#]
public IGPMessage GetMessage (
    int Index
);
[C++]
HRESULT GetMessage(
  long Index,
  IGPMessage** msg
);
[C++]

Parameters

Index [in]   Index is a parameter of type long msg [out, retval]

  msg is a parameter of type IGPMessage

Product Availability

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

Remarks

The GetMessage property returns the specified GPMessage object from this collection. 

See Also

IGPMessages Interface