FrozenDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Contains Method

Definition

Determines whether the ICollection<T> contains a specific value.

C#
bool ICollection<KeyValuePair<TKey,TValue>>.Contains(System.Collections.Generic.KeyValuePair<TKey,TValue> item);

Parameters

item
KeyValuePair<TKey,TValue>

The object to locate in the ICollection<T>.

Returns

true if item is found in the ICollection<T>; otherwise, false.

Implements

Applies to

Product Versions
.NET 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)