Removes the entry with the specified key from the current instance.
- key
- The key of the entry to remove.
true if the element is successfully removed; otherwise, false.Note:This method also returns false if key was not found.
Type Reason NotSupportedException The current instance is read-only.
Implementations can vary in how they determine equality of objects.
Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0