IMultiMap<TKey,TValue>.TryGetValues Method

Definition

Attempts to get the values associated with the specified key.

Delphi
function TryGetValues(const key: TKey; var values: IReadOnlyCollection<TValue>): Boolean

Parameters

key
TKey

The key whose values to get.

values
IReadOnlyCollection<TValue>

Returns

Boolean

True if the specified key was found; otherwise, False .