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 > IGpDispatch Interface > IGpDispatch.GetParameterAsText Method (ArcObjects .NET 10.5 SDK) |
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