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

System.Collections.IDictionary.Clear Method

Removes all key and value pairs from the current instance.

public void Clear ()

Exceptions

TypeReason
NotSupportedExceptionThe IDictionary is read-only.

Remarks

Operation
As described above.

Requirements

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