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.SetParameterAsText Method (ArcObjects .NET 10.5 SDK) |
Sets given tool parameter as text.
[Visual Basic .NET] Public Sub SetParameterAsText ( _ ByVal Index As Integer, _ ByVal argument As String _ )
[C#] public void SetParameterAsText ( int Index, string argument );
[C++]
HRESULT SetParameterAsText(
long Index,
BSTR argument
);
[C++]
Parameters Index [in] Index is a parameter of type long argument [in] argument is a parameter of type BSTR