Skip to content

SecondaryIndex.MatchesKey(T, object) method

Defined in

Type: SecondaryIndex Namespace: ReactiveList.Reactive.Core Assembly: ReactiveList.Reactive.dll

Applies to

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

public bool MatchesKey(T item, object key)

View source (opens in a new tab)

Summary: Determines whether the specified item's key matches the provided key object.

Parameters

NameTypeDescription
itemTThe item whose key should be compared.
keyobject (opens in a new tab)The key to compare against. Must be of type TKey.

Returns: bool (opens in a new tab) -- true if the item's key matches the specified key; otherwise, false.