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


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

IGeoProcessor.SetEnvironmentValue Method

Update the value of an environment by name. The properties of the current Geoprocessing session.

[Visual Basic .NET]
Public Sub SetEnvironmentValue ( _
    ByVal environmentName As String, _
    ByVal Value As Object _
)
[C#]
public void SetEnvironmentValue (
    string environmentName,
    object Value
);
[C++]
HRESULT SetEnvironmentValue(
  BSTR environmentName,
  VARIANT Value
);
[C++]
Parameters
environmentName [in]

environmentName is a parameter of type BSTR Value [in]
Value is a parameter of type VARIANT

Product Availability

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

See Also

IGeoProcessor Interface