Contains Method

ImmutableSortedDictionary<TKey, TValue>.Contains Method (KeyValuePair<TKey, TValue>)

 

Determines whether this immutable sorted 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.

Return to top
Show:
© 2016 Microsoft