IDictionary.TryGetValue Method
Attempts to retrieve the value associated with the specified key.
Syntax
Unit: Bcl.Collections
function IDictionary.TryGetValue(const Key: TValue; out Value: TValue): Boolean; virtual; abstract;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Key | TValue | The key to search for. |
| out | Value | TValue | When this method returns True, contains the value associated with the key. |
Returns
True if the key was found; otherwise, False.