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

System.Collections.IDictionary.Contains Method

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

public bool Contains (object key)

Parameters

key
The key to locate in the IDictionary. [Edit]

Returns

true if the IDictionary contains an entry with the key; otherwise, false. [Edit]

Exceptions

TypeReason
ArgumentNullExceptionkey is null. [Edit]

Remarks

Operation
As described above. [Edit]

Requirements

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