SkipList<TKey,TValue>.ContainsKey method

Determines whether the list contains the specified key.

public virtual bool ContainsKey(TKey key)
parameter description
key The value to test for.

Return Value

True if the key is contained in the list, false otherwise.

Exceptions

exception condition
ArgumentNullException Thrown if key is null.
InvalidCastException Thrown if key is not of type IComparable.

See Also