This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGeoProcessor2 Interface > IGeoProcessor2.GetParameterValue Method (ArcObjects .NET 10.5 SDK) |
Return the input command line or script tool parameter by index as a GPValue.
[Visual Basic .NET] Public Function GetParameterValue ( _ ByVal Index As Integer _ ) As Object
[C#] public object GetParameterValue ( int Index );
[C++]
HRESULT GetParameterValue(
long Index,
VARIANT* pValue
);
[C++]
Parameters Index [in] Index is a parameter of type long pValue [out, retval] pValue is a parameter of type VARIANT