Compartilhar via


OrderedHashtable.Contains(Object) Method

Definition

Determines whether the hashtable contains a specific key.

public override bool Contains (object key);
override this.Contains : obj -> bool
Public Overrides Function Contains (key As Object) As Boolean

Parameters

key
Object

The key to locate in the hashtable.

Returns

true if the hashtable contains an element with the specified key; otherwise, false.

Applies to