Export (0) Print
Expand All

ImmutableDictionary<TKey, TValue>.Contains Method

Determines whether this immutable dictionary contains the specified key/value pair.

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public bool Contains(
	KeyValuePair<TKey, TValue> pair
)

Parameters

pair
Type: System.Collections.Generic.KeyValuePair<TKey, TValue>

The key/value pair to locate.

Return Value

Type: System.Boolean
true if the specified key/value pair is found in the dictionary; otherwise, false.

Implements

IImmutableDictionary<TKey, TValue>.Contains(KeyValuePair<TKey, TValue>)
ICollection<T>.Contains(T)

Show:
© 2014 Microsoft