ImmutableDictionary<TKey, TValue>::Contains Method (KeyValuePair<TKey, TValue>)

 

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:
virtual bool Contains(
	KeyValuePair<TKey, TValue> pair
) sealed

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: