Method Clear
Clear()
Removes all entries from the dictionary.
Declaration
public void Clear()
Remarks
Entries are removed one at a time. Dispose() is faster if the dictionary will not be used again.
Exceptions
| Type | Condition |
|---|---|
| ObjectDisposedException | The dictionary has been disposed. |