ClientProtocolCollection.Contains(String) ClientProtocolCollection.Contains(String) ClientProtocolCollection.Contains(String) Method

Definition

Checks whether the specified key value exists in the collection.

public:
 bool Contains(System::String ^ key);
public bool Contains (string key);
Public Function Contains (key As String) As Boolean
Parameters
key
String String String

A String value that specifies the key value to check the existence of in the collection.

Returns

A Boolean value that specifies whether the key value exists in the collection.

If True, the key value exists in the collection.

If False, the key value does not exist in the collection.

Examples

Using Collections

Applies to