Bearbeiten

Freigeben über


ImmutableDictionary<TKey,TValue>.Builder.Contains Method

Definition

Determines whether the immutable dictionary contains a specific value.

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

Parameters

item
KeyValuePair<TKey,TValue>

The object to locate in the dictionary.

Returns

true if item is found in the dictionary; otherwise, false.

Implements

Applies to