TOrderedDictionary<K, V>.TryGetValue Method
Attempts to retrieve the value associated with the specified key.
Syntax
Unit: Bcl.Collections
function TOrderedDictionary<K, V>.TryGetValue(const key: K; out value: V): Boolean;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | key | K | The key to locate. |
| out | value | V | When this method returns, contains the value associated with the key if found; otherwise, the default value for the type. |
Returns
True if the key was found; False otherwise.