Method ICollection<KeyValuePair<TLeft, TRight>>.Remove
ICollection<KeyValuePair<TLeft, TRight>>.Remove(KeyValuePair<TLeft, TRight>)
Removes an association from the map between the specified left and right value if they currently map to each other.
Declaration
bool ICollection<KeyValuePair<TLeft, TRight>>.Remove(KeyValuePair<TLeft, TRight> item)
Parameters
Type | Name | Description |
---|---|---|
KeyValuePair<TLeft, TRight> | item |
Returns
Type | Description |
---|---|
bool |
Implements
Remarks
If the left and right values do not map to each other then no changes are made to the map and the removal does not succeed.