Mono Class Library: System.Collections.Hashtable Overview | Members

System.Collections.Hashtable.ContainsValue Method

Determines whether the current instance contains an entry with the specified value. [Edit]

public virtual bool ContainsValue (object value)

Parameters

value
The value to locate in the current instance. [Edit]

Returns

true if the current instance contains an entry with value; otherwise, false. [Edit]

Remarks

Note: This method is implemented to support the IDictionary interface.

Operation
As described above.

This method is equivalent to Hashtable.ContainsKey(object).

Note: For the default implementation, this method has a constant (O(1)) lookup time.

[Edit]

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0