Share via


OrderedHashtable.ContainsKey(Object) Method

Definition

Determines whether the hashtable contains a specific key.

public override bool ContainsKey (object key);
override this.ContainsKey : obj -> bool
Public Overrides Function ContainsKey (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