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


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

IGeoProcessor2.GetEnvironmentValue Method

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

[Visual Basic .NET]
Public Function GetEnvironmentValue ( _
    ByVal environmentName As String _
) As Object
[C#]
public object GetEnvironmentValue (
    string environmentName
);
[C++]
HRESULT GetEnvironmentValue(
  BSTR environmentName
);
[C++]
Parameters
environmentName [in]

environmentName is a parameter of type BSTR

Product Availability

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

See Also

IGeoProcessor2 Interface