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

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

Namespace: Spring.Collections.Base
public
 procedure Add(const key: TKey; const value: T); reintroduce; overload; virtual; abstract;

Parameters

key
Type: TKey

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

value
Type: T

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

Implements

IMap<TKey,TValue>.Add(TKey,TValue)