AvaloniaDictionaryTKey, TValueRemove Method

Removes the element with the specified key from the IDictionaryTKey, TValue.

Definition

Namespace: Avalonia.Collections
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public bool Remove(
	TKey key
)

Parameters

key  TKey
The key of the element to remove.

Return Value

Boolean
if the element is successfully removed; otherwise, . This method also returns if key was not found in the original IDictionaryTKey, TValue.

Implements

IDictionaryTKey, TValueRemove(TKey)

Exceptions

See Also