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

Definition

Bestimmt, ob der ICollection<T> Wert einen bestimmten Wert enthält.

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

Parameter

key
TKey

Sie schlüsseln den Speicherort in der Sammlung.

Gibt zurück

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

Implementiert

Gilt für: