This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPEnvironmentManager Interface > IGPEnvironmentManager.GetEnvironments Method (ArcObjects .NET 10.4 SDK) |
Returns the environments of the environment manager as an array.
[Visual Basic .NET] Public Function GetEnvironments ( _ ) As IArray
[C#] public IArray GetEnvironments ( );
[C++]
HRESULT GetEnvironments(
IArray** envs
);
[C++]
Parameters envs [out, retval]
envs is a parameter of type IArray
The GetEnvironments method returns all possible environments of an environment manager as an array. Use this method to access a complete environments list of a GPEnviornmentManager object.