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

IGPEnvironmentManager.GetEnvVariant 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.GetEnvVariant Method
ArcGIS Developer Help

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
public object GetEnvVariant (
    IGPEnvironment env
HRESULT GetEnvVariant(
  IGPEnvironment* env
env [in]

env is a parameter of type IGPEnvironment*

Product Availability

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

See Also

IGPEnvironmentManager Interface