Click or drag to resize
Accord.NET (logo)

RedBlackTreeDictionaryTKey, TValueRemove Method (TKey)

Removes the element with the specified key from the dictionary.

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

Parameters

key
Type: TKey
The key of the element to remove.

Return Value

Type: Boolean
true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original dictionary.
See Also