ILookup<TKey,TElement>.Contains(TKey) Methode

Definition

Bestimmt, ob ein angegebener Schlüssel in der ILookup<TKey,TElement>.

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

Parameter

key
TKey

Der Schlüssel, nach dem ILookup<TKey,TElement>gesucht werden soll.

Gibt zurück

true if key is in the ILookup<TKey,TElement>; otherwise, false.

Gilt für: