This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor2 Interface > IGeoProcessor2.GetReturnCode Method (ArcObjects .NET 10.4 SDK) |
Return the message error code (Error Messages Only) by index of the last tool executed.
[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