ImmutableDictionary<TKey,TValue>.Builder.Contains Methode

Definition

Bestimmt, ob das unveränderliche Wörterbuch einen bestimmten Wert enthält.

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<TKey, TValue> item);
public bool Contains(System.Collections.Generic.KeyValuePair<TKey,TValue> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
Public Function Contains (item As KeyValuePair(Of TKey, TValue)) As Boolean

Parameter

item
KeyValuePair<TKey,TValue>

Das Objekt, das im Wörterbuch gefunden werden soll.

Gibt zurück

truewenn item im Wörterbuch gefunden wird; andernfalls . false

Implementiert

Gilt für: