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>::IDictionary::Contains Method (Object^)

 

Determines whether the immutable dictionary object contains an element with the specified key.

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

private:
virtual bool Contains(
	Object^ key
) sealed = IDictionary::Contains

Parameters

key
Type: System::Object^

The key to locate in the dictionary object.

Return Value

Type: System::Boolean

true if the dictionary contains an element with the key; otherwise, false.

This member is an explicit interface member implementation. It can be used only when the ImmutableDictionary<TKey, TValue> instance is cast to an IDictionary interface.

Return to top
Show:
© 2017 Microsoft