Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft