ThreadSafeDictionaryTKey, TValueTryRemove(TKey, TValue) Method
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
[CLSCompliantAttribute(false)]
public bool TryRemove(
TKey key,
TValue value
)
<CLSCompliantAttribute(false)>
Public Function TryRemove (
key As TKey,
value As TValue
) As Boolean
public:
[CLSCompliantAttribute(false)]
bool TryRemove(
TKey key,
TValue value
)
[<CLSCompliantAttribute(false)>]
member TryRemove :
key : 'TKey *
value : 'TValue -> bool
- key TKey
- The key of the item to remove.
- value TValue
- The value of the item to remove.
Boolean if the element is successfully removed; otherwise,
.