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


IGeoProcessor2.AddReturnMessage Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGeoProcessor2.AddReturnMessage Method

Output message from the last tool executed. When running within a script tool, message becomes part of the tool messages, otherwise outputs to console

[Visual Basic .NET]
Public Sub AddReturnMessage ( _
    ByVal Index As Integer _
)
[C#]
public void AddReturnMessage (
    int Index
);
[C++]
HRESULT AddReturnMessage(
  long Index
);
[C++]

Parameters Index [in] Index is a parameter of type long

Product Availability

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

See Also

IGeoProcessor2 Interface