Click or drag to resize
Accord.NET (logo)

RedBlackTreeDictionaryTKey, TValueContainsKey Method

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

Namespace:  Accord.Collections
Assembly:  Accord (in Accord.dll) Version: 3.7.0
Syntax
public bool ContainsKey(
	TKey key
)
Request Example View Source

Parameters

key
Type: TKey
The key to locate in the dictionary.

Return Value

Type: Boolean
true if the dictionary contains an element with the key; otherwise, false.
See Also