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


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

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