Mono Class Library: System.Collections.Hashtable Overview | MembersSystem.Collections.Hashtable.Remove Method |
Removes the entry with the specified key from the current instance. [Edit]
|
- key
- The key of the entry to remove. [Edit]
Type Reason ArgumentNullException key is null. [Edit] NotSupportedException The current instance is read-only or has a fixed size. [Edit]
Note: This method is implemented to support the IDictionary interface.Operation
As described above.This method uses the object.Equals(object) implementation of key to locate it in the current instance. If key is found in the current instance, the values of both key and its associated value are set to null. If key is not found in the current instance, no exception is thrown and the current instance remains unchanged.
[Edit]
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0