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

System.Collections.IDictionary.Remove Method

Removes the entry with the specified key from the current instance. [Edit]

public void Remove (object key)

Parameters

key
The key of the entry to remove. [Edit]

Exceptions

TypeReason
ArgumentNullExceptionkey is null. [Edit]
NotSupportedExceptionThe current instance is read-only or has a fixed size. [Edit]

Remarks

Operation

If key is not found in the current instance, no exception is thrown and the current instance remains unchanged.

[Edit]

Requirements

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