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

Definition

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

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

Parametrar

key
TKey

De är viktiga för platsen i samlingen.

Returer

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

Implementeringar

Gäller för