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


IGpDispatch.GetParameterAsText Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.GetParameterAsText Method
ArcGIS Developer Help

IGpDispatch.GetParameterAsText Method

Gets given tool parameter as text.

[Visual Basic .NET]
Public Function GetParameterAsText ( _
    ByVal Index As Integer _
) As String
[C#]
public string GetParameterAsText (
    int Index
);
[C++]
HRESULT GetParameterAsText(
  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

IGpDispatch Interface