IMultiMap<TKey,TValue>.Items Property

Definition

Gets a collection of the values accociated with the/ specified key.

Delphi
property Items[const key: TKey]: IReadOnlyCollection<TValue>

Parameters

key
TKey

The key of the values to get.

Returns

Remarks

If the specified key does not exist in the multimap, an empty collection is returned.

Any changes to the multimap will appear in the returned collections.