Method TryGetRightValue
TryGetRightValue(TLeft, out TRight)
Gets the right value associated with the specified left value.
Declaration
public bool TryGetRightValue(TLeft leftValue, out TRight rightValue)
Parameters
Type | Name | Description |
---|---|---|
TLeft | leftValue | The left value to look up in the map. |
TRight | rightValue | When this method returns, contains the right value associated with the specified left value, if the left value is found; otherwise, the default value for the type of the right value parameter. |
Returns
Type | Description |
---|---|
bool | true if the map contains the specified left value, otherwise false. |