EnvironmentReferenceCollection.Contains(String, String) Method

Definition

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.

Applies to