Export (0) Print
Expand All

ImmutableDictionary<TKey, TValue>.ContainsKey Method

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

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

public bool ContainsKey(
	TKey key
)

Parameters

key
Type: TKey

The key to locate.

Return Value

Type: System.Boolean
true if the immutable dictionary contains an element with the specified key; otherwise, false.

Implements

IReadOnlyDictionary<TKey, TValue>.ContainsKey(TKey)
IDictionary<TKey, TValue>.ContainsKey(TKey)

Show:
© 2014 Microsoft