EnvironmentReferenceCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a local reference to an environment under the current folder.
Overloads
Add(String) |
Adds a local reference to an environment under the current folder with the specified environment name. |
Add(String, String) |
Adds a reference to an environment with the specified environment name and folder name. |
Add(String)
Adds a local reference to an environment under the current folder with the specified environment name.
public:
void Add(System::String ^ envName);
public void Add (string envName);
override this.Add : string -> unit
Public Sub Add (envName As String)
Parameters
- envName
- String
The name of the environment.
Applies to
Add(String, String)
Adds a reference to an environment with the specified environment name and folder name.
public:
void Add(System::String ^ envName, System::String ^ envFolderName);
public void Add (string envName, string envFolderName);
override this.Add : string * string -> unit
Public Sub Add (envName As String, envFolderName As String)
Parameters
- envName
- String
The name of the environment.
- envFolderName
- String
The name of the environment folder.