Export (0) Print
Expand All

ImmutableDictionary<TKey, TValue>.IDictionary.Contains Method

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)

bool IDictionary.Contains(
	Object key
)

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.

Implements

IDictionary.Contains(Object)

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.

Show:
© 2014 Microsoft