Locates and returns the environment with the specified name.
[Visual Basic .NET] Public Function FindEnvironment ( _ ByVal Name As String _ ) As IGPEnvironment
[C#] public IGPEnvironment FindEnvironment ( string Name );
[C++]
HRESULT FindEnvironment(
BSTR Name,
IGPEnvironment** env
);
[C++]Parameters
Name [in] Name is a parameter of type BSTR env [out, retval]env is a parameter of type IGPEnvironment
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
The FindEnvironment method returns the specified environment as string. Use this method to access a specific environment.
A code snippet on how to use this method is included below.