Skip to content

QuaternaryDictionary.GetValuesBySecondaryIndex(string, TIndexKey) method

Defined in

Type: QuaternaryDictionary Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public IEnumerable<TValue> GetValuesBySecondaryIndex<TIndexKey>(string indexName, TIndexKey key) where TIndexKey : notnull

View source (opens in a new tab)

Summary: Retrieves all values that match the specified key in the given secondary value index.

Type parameters

NameDescription
TIndexKeyThe type of the key used to query the secondary index.

Parameters

NameTypeDescription
indexNamestring (opens in a new tab)The name of the secondary index to query.
keyTIndexKeyThe key value to search for within the specified index.

Returns: IEnumerable (opens in a new tab) -- An enumerable collection of values that match the specified key.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)indexName is null.