Removes the first occurrence of a specific object from the ICollection T .
Namespace: ElecNetKit.NetworkModelling.PhasingAssembly: ElecNetKit.Core (in ElecNetKit.Core.dll) Version: 1.1.4771.27370 (1.1.0.0)
Syntax
public bool Remove( KeyValuePair<int, TTo> item )
Parameters
- item
- Type: System.Collections.Generic KeyValuePair Int32, TTo
The object to remove from the ICollection T .
Return Value
true if item was successfully removed from the ICollection T ; otherwise, false. This method also returns false if item is not found in the original ICollection T .Implements
ICollection T Remove(T)Exceptions
Exception | Condition |
---|---|
System NotSupportedException | The ICollection T is read-only. |
See Also