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


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

IGeoProcessor2.SetParameterValue Method

Set the output script tool parameter by index as a GPValue.

[Visual Basic .NET]
Public Sub SetParameterValue ( _
    ByVal Index As Integer, _
    ByVal Value As Object _
)
[C#]
public void SetParameterValue (
    int Index,
    object Value
);
[C++]
HRESULT SetParameterValue(
  long Index,
  VARIANT Value
);
[C++]
Parameters
Index [in]

Index is a parameter of type long Value [in]
Value is a parameter of type VARIANT

Product Availability

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

See Also

IGeoProcessor2 Interface