QuaternaryList.ItemMatchesSecondaryIndex(string, T, TIndexKey) method¶
Defined in
Type: QuaternaryListReactiveList.Reactive.Collections
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
public bool ItemMatchesSecondaryIndex<TIndexKey>(string indexName, T item, TIndexKey key) where TIndexKey : notnull
View source (opens in a new tab)
Summary: Determines whether the specified item matches the given key in the specified secondary index.
Type parameters
| Name | Description |
|---|---|
TIndexKey | The type of the key used in the secondary index. |
Parameters
| Name | Type | Description |
|---|---|---|
indexName | string (opens in a new tab) | The name of the secondary index to use for matching. |
item | T | The item to check. |
key | TIndexKey | The key value to match against. |
Returns: bool (opens in a new tab) -- true if the item's indexed value matches the specified key; otherwise, false.