ServerGroupCollection.Contains(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.
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.