This document is archived and information here might be outdated. Recommended version. |
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
);
[C++]
Parameters Name [in]
Name is a parameter of type BSTR
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.