Determines whether the current instance contains an entry with the specified key.
- key
- The key of the entry to locate in the current instance.
true if the current instance contains an entry with key; otherwise, false.
Type Reason ArgumentNullException key is null.
This method uses Hashtable.KeyEquals(object, object) to compare key to the keys in the current instance.