Method Remove
Remove(TAlternateLeft, TAlternateRight)
Removes an association from the map between the specified alternate left and alternate right value if they currently map to each other.
Declaration
public bool Remove(TAlternateLeft leftValue, TAlternateRight rightValue)
Parameters
Type | Name | Description |
---|---|---|
TAlternateLeft | leftValue | |
TAlternateRight | rightValue |
Returns
Type | Description |
---|---|
bool |
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.
Remove(TAlternateLeft, TAlternateRight, out TLeft, out TRight)
Removes an association from the map between the specified alternate left and alternate right value if they currently map to each other.
Declaration
public bool Remove(TAlternateLeft leftValue, TAlternateRight rightValue, out TLeft actualLeftValue, out TRight actualRightValue)
Parameters
Type | Name | Description |
---|---|---|
TAlternateLeft | leftValue | |
TAlternateRight | rightValue | |
TLeft | actualLeftValue | |
TRight | actualRightValue |
Returns
Type | Description |
---|---|
bool |
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.