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


IGPMessages.AddMessage Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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 (Code Files: CalculateAreaFunction)