ProtocolPropertyCollection.Contains(String) Method

Definition

Checks whether the specified key value exists in the collection.

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

Parameters

name
String

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

Returns

Boolean

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