Delegate TryGetValue<TKey, TValue>
Delegate that represents a fallible attempt to get a value associated with a given key.
Namespace: RustyOptions
Assembly: RustyOptions.dll
Syntax
public delegate bool TryGetValue<TKey, TValue>(TKey key, out TValue? value)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | key | The key to retrieve the corresponding value for. |
| TValue | value | The value retrieved, if any. |
Returns
| Type | Description |
|---|---|
| bool |
|
Type Parameters
| Name | Description |
|---|---|
| TKey | The type of the key. |
| TValue | The type of value to get. |