IMultiMap<TKey,TValue>.Extract Method

Overloads

Extract(TKey)

Extracts all values accociated with the given key from the multimap.

Extract(TKey)

Extracts all values accociated with the given key from the multimap.

Delphi
function Extract(const key: TKey): ICollection<TValue>

Parameters

key
TKey

Returns

ICollection<TValue>

Remarks

If the multimap has doOwnsValues set the items in the returned list are not being owned by the list but have to be freed manually or being passed to a collection that takes ownership.