Method Remove
Remove(TLeft, TRight)
Removes the association between the specified left and right values from the map if they are currently associated with each other.
Declaration
bool Remove(TLeft leftValue, TRight rightValue)
Parameters
| Type | Name | Description |
|---|---|---|
| TLeft | leftValue | |
| TRight | rightValue |
Returns
| Type | Description |
|---|---|
| bool | true if the association was found and removed, otherwise false. |
Remarks
If the specified left and right values are not associated with each other then no changes are made to the map and the method returns false.