IMultiMap<TKey,TValue>.AsReadOnly Method

Definition

Returns the multimap as read-only multimap.

Delphi
function AsReadOnly: IReadOnlyMultiMap<TKey,TValue>

Returns

IReadOnlyMultiMap<TKey, TValue>

The multimap as read-only ordered multimap.

Remarks

This method will not perform a copy but will return the same instance as IReadOnlyMultiMap<TKey, TValue>.