DictionaryBase.IDictionary.Remove Method (Object)
.NET Framework (current version)
Removes the element with the specified key from the DictionaryBase.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- key
-
Type:
System.Object
The key of the element to remove.
Implements
IDictionary.Remove(Object)| Exception | Condition |
|---|---|
| ArgumentNullException | key is null. |
| NotSupportedException |
If the DictionaryBase does not contain an element with the specified key, the DictionaryBase remains unchanged. No exception is thrown.
This method is an O(1) operation.
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 10
.NET Framework
Available since 1.1
Show: