IDictionary<TKey,TValue>.GetItem Method

Definition

Gets the value associated with the specified key.

Delphi
function GetItem(const Key: TKey): TValue;

Parameters

Key
TKey

The key whose value should be returned.

Returns

TValue

The value associated with the specified key.

Exceptions

Key is not found in the dictionary.