ArcObjects Library Reference (Geoprocessing)  

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,
  BSTR* argument
);
[C++]

Parameters

Index [in]   Index is a parameter of type long argument [out, retval]   argument is a parameter of type BSTR

Product Availability

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

See Also

IGpDispatch Interface