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


IGPMessages.AddMessage 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.AddMessage Method
ArcGIS Developer Help

IGPMessages.AddMessage Method

Adds an informative message to the messages.

[Visual Basic .NET]
Public Sub AddMessage ( _
    ByVal Message As String _
)
[C#]
public void AddMessage (
    string Message
);
[C++]
HRESULT AddMessage(
  BSTR Message
);
[C++]
Parameters
Message [in]

Message is a parameter of type BSTR

Product Availability

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

Remarks

The AddMessage method creates a GPMessage of type esriGPMEssageTypeInformative and adds it to this collection.

See Also

IGPMessages Interface

.NET Samples

Calculate area geoprocessing function tool