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


IGeoProcessorResult2.GetReturnCode Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGeoProcessorResult2.GetReturnCode Method

Return the message error code (Error Messages Only) by index.

[Visual Basic .NET]
Public Function GetReturnCode ( _
    ByVal Index As Integer _
) As Integer
[C#]
public int GetReturnCode (
    int Index
);
[C++]
HRESULT GetReturnCode(
  long Index,
  long* pCode
);
[C++]

Parameters Index [in] Index is a parameter of type long pCode [out, retval] pCode is a parameter of type long

Product Availability

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

See Also

IGeoProcessorResult2 Interface