IDictionary<TKey,TValue>.Items Property

Definition

Gets or sets the value associated with the specified key.

Delphi
property Items[const Key: TKey]: TValue;

Parameters

Key
TKey

The key of the value to get or set.

Returns

TValue

Exceptions

The property is read and Key is not found in the dictionary.

Remarks

Setting this property adds the key if it does not already exist.