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


IGPEnvironmentManager.PutEnvVariant Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

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