Removes the element with the specified key from the IDictionary TKey, TValue .
Namespace: ElecNetKit.NetworkModelling.PhasingAssembly: ElecNetKit.Core (in ElecNetKit.Core.dll) Version: 1.1.4771.27370 (1.1.0.0)
Syntax
Parameters
- key
- Type: System Int32
The key of the element to remove.
Return Value
true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original IDictionary TKey, TValue .Implements
IDictionary TKey, TValue Remove(TKey)Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | key is null. |
System NotSupportedException | The IDictionary TKey, TValue is read-only. |
See Also