Click or drag to resize

ConcurrentTokenizedPriorityQueueTKey, TValue, TTokenTryRemove(TToken) Method

Tries to remove the key/value pair associated with the provided token from the queue (independently on the current position of the key/value pair in the queue).

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool TryRemove(
	TToken token
)

Parameters

token  TToken
The token associated with the key/value pair to remove.

Return Value

Boolean
True if the item still existed in the queue and could be successfully removed; otherwise false.
See Also