Table of Contents

TOrderedDictionary<K, V>.Add Method

Adds a key-value pair to the dictionary. If the key already exists, its value is updated.

Syntax

Unit: Bcl.Collections

procedure TOrderedDictionary<K, V>.Add(const key: K; const value: V);

Parameters

<-> Parameter Type Description
const key K The key to add or update.
const value V The value to associate with the key.

See also