ThreadSafeDictionaryTKey, TValueRemove Method

Tries to remove the value with the specified key from the ThreadSafeDictionaryTKey, TValue. This method just calls the TryRemove method. It exists just for providing compatibility with the DictionaryTKey, TValue type.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public bool Remove(
	TKey key
)

Parameters

key  TKey
Key of the item to remove.

Return Value

Boolean
if the element is successfully removed; otherwise, .

Implements

IDictionaryTKey, TValueRemove(TKey)

Exceptions

See Also