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


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

IGPEnvironmentManager.PutEnvVariant Method

Sets the value of the given environment to the given variant.

[Visual Basic .NET]
Public Sub PutEnvVariant ( _
    ByVal env As IGPEnvironment, _
    ByVal Value As Object _
)
[C#]
public void PutEnvVariant (
    IGPEnvironment env,
    object Value
);
[C++]
HRESULT PutEnvVariant(
  IGPEnvironment* env,
  VARIANT Value
);
[C++]
Parameters
env [in]

env is a parameter of type IGPEnvironment* Value [in]
Value is a parameter of type VARIANT

Product Availability

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

See Also

IGPEnvironmentManager Interface