ThreadSafeDictionaryTKey, TValueTryRemove(TKey) Method

Tries to remove the value with the specified key from the ThreadSafeDictionaryTKey, TValue.

Definition

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

Parameters

key  TKey
Key of the item to remove.

Return Value

Boolean
if the element is successfully removed; otherwise, .

Exceptions

See Also