Click or drag to resize

ObservableIndexerTKey, TValueRemove Method

Removes the value with the specified key from the DictionaryTKey, TValue.

Namespace: TomsToolbox.ObservableCollections
Assembly: TomsToolbox.ObservableCollections (in TomsToolbox.ObservableCollections.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public bool Remove(
	TKey key
)

Parameters

key  TKey
The key of the element to remove.

Return Value

Boolean
true if the element is successfully found and removed; otherwise, false. This method returns false if key is not found in the DictionaryTKey, TValue.
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.
See Also