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


IGPEnvironmentManager.GetEnvVariant Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPEnvironmentManager.GetEnvVariant Method

Returns the value of the given environment as a variant.

[Visual Basic .NET]
Public Function GetEnvVariant ( _
    ByVal env As IGPEnvironment _
) As Object
[C#]
public object GetEnvVariant (
    IGPEnvironment env
);
[C++]
HRESULT GetEnvVariant(
  IGPEnvironment* env,
  VARIANT* Value
);
[C++]

Parameters env [in]
env is a parameter of type IGPEnvironment Value [out, retval] Value is a parameter of type VARIANT

Product Availability

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

See Also

IGPEnvironmentManager Interface