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