FrozenDictionary<TKey,TValue>.AlternateLookup<TAlternateKey>.ContainsKey Method

Definition

Determines whether the FrozenDictionary<TKey,TValue> contains the specified alternate key.

C#
public bool ContainsKey (TAlternateKey key);

Parameters

key
TAlternateKey

The alternate key to check.

Returns

true if the key is in the dictionary; otherwise, false.

Exceptions

key is null.

Applies to

Product Versions
.NET 9 (package-provided), 9