ConcurrentTokenizedPriorityQueueTKey, TValue, TTokenTryRemove(TToken, TKey) 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.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public bool TryRemove(
TToken token,
out TKey key
)
Parameters
- token TToken
- The token associated with the key/value pair to remove.
- key TKey
- On successfull return, contains the key of the removed key/value pair.
Return Value
BooleanTrue if the item still existed in the queue and could be successfully removed; otherwise
false.
See Also