TDictionary<TKey,TValue>.Add(TKey,TValue) Method

Adds an element with the provided key and value to the IMap<TKey,TValue>.

Namespace: Spring.Collections.Dictionaries
public
 procedure Add(const key: TKey; const value: TValue); override;

Parameters

key
Type: TKey

The value to use as the key of the element to add.

value
Type: TValue

The value to use as the value of the element to add.

Overrides

TMapBase<TKey,T>.Add(TKey,T)