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


IGPMessages.Add Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPMessages.Add Method

Adds a message object to the messages.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal msg As IGPMessage _
)
[C#]
public void Add (
    IGPMessage msg
);
[C++]
HRESULT Add(
  IGPMessage* msg
);
[C++]

Parameters msg [in]
msg is a parameter of type IGPMessage

Product Availability

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

Remarks

The Add method adds a GPMessage object to the GPMessages collection.

See Also

IGPMessages Interface