Skip to content

IQuaternaryDictionary.Lookup(TKey) method

Defined in

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

Applies to

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

(bool HasValue, TValue? Value) Lookup(TKey key)

Summary: Looks up the value associated with the specified key.

Parameters

NameTypeDescription
keyTKeyThe key to look up.

Returns: (bool HasValue, TValue? Value) (opens in a new tab) -- A tuple containing a boolean indicating if the key was found and the value if present.

Remarks

This method provides an optional-style lookup pattern, returning a tuple indicating whether the key was found and the associated value.