ImmutableDictionary<TKey, TValue>::ContainsKey Method (TKey)

 

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:
virtual bool ContainsKey(
	TKey key
) sealed

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.

Return to top
Show: