ReadOnlyDictionary<TKey,TValue>.KeyCollection.Contains(TKey) Metod

Definition

Avgör om innehåller ICollection<T> ett specifikt värde.

public:
 virtual bool Contains(TKey item);
public bool Contains(TKey item);
abstract member Contains : 'Key -> bool
override this.Contains : 'Key -> bool
Public Function Contains (item As TKey) As Boolean

Parametrar

item
TKey

Objektet som ska hittas ICollection<T>i .

Returer

trueom item hittas i ICollection<T>; annars . false

Implementeringar

Gäller för