IMultiMap<TKey,TValue>.Add Method

Overloads

Add(TKey, TValue)

Adds an element with the specified key and value to the map and returns if the underlying map was modified.

Add(TKey, TValue)

Adds an element with the specified key and value to the map and returns if the underlying map was modified.

Delphi
function Add(const key: TKey; const value: TValue): Boolean

Parameters

key
TKey

The key of the element to add.

value
TValue

The value of the element to add.

Returns

Boolean

True if the map was modified, False otherwise.