TPair<TKey,TValue>.Create Constructor

Definition

Initializes a new instance of the TPair<TKey,TValue> record with the specified key and value.

Delphi
constructor Create(const Key: TKey; const Value: TValue);

Parameters

Key
TKey

The key stored by the pair.

Value
TValue

The value stored by the pair.