Method TryGetValue
TryGetValue(TKey, out TValue)
Try to get the value with the specified key
Declaration
public bool TryGetValue(TKey key, out TValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | key | Key to get the value from |
| TValue | value | return value |
Returns
| Type | Description |
|---|---|
| Boolean | true if the value was in the dictionary, false otherwise |