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

Definition

Avgör om det finns en angiven nyckel i 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

Parametrar

key
TKey

Nyckeln som ska sökas efter i ILookup<TKey,TElement>.

Returer

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

Gäller för