ServerGroupCollection.Contains(String) Method

Definition

Determines whether the specified string value exists within the collection.

public:
 bool Contains(System::String ^ key);
public bool Contains (string key);
member this.Contains : string -> bool
Public Function Contains (key As String) As Boolean

Parameters

key
String

A String value that specifies a value for which the existence within the collection is being determined.

Returns

A Boolean value that specifies whether the string value exists within the collection.

If True, the string value exists within the collection.

If False, the string value does not exist within the collection.

Examples

Using Collections

Applies to