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