EnvironmentReferenceCollection.Contains(String, String) 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.
Returns a value that indicates whether the environment reference collection contains the specified name and environment folder name.
public:
bool Contains(System::String ^ name, System::String ^ environmentFolderName);
public bool Contains (string name, string environmentFolderName);
override this.Contains : string * string -> bool
Public Function Contains (name As String, environmentFolderName As String) As Boolean
Parameters
- name
- String
The environment name.
- environmentFolderName
- String
The name of the environment folder.
Returns
true if the environment reference collection contains the specified name and environment folder name; otherwise, false.