This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPEnvironmentManager Interface > IGPEnvironmentManager.AddEnvironment Method (ArcObjects .NET 10.5 SDK) |
Adds the given geoprocessing environment to the environment manager.
[Visual Basic .NET] Public Sub AddEnvironment ( _ ByVal env As IGPEnvironment _ )
[C#] public void AddEnvironment ( IGPEnvironment env );
[C++]
HRESULT AddEnvironment(
IGPEnvironment* env
);
[C++]
Parameters env [in]
env is a parameter of type IGPEnvironment
The AddEnvironment methods adds a given environment to the environments array.