Click or drag to resize

ConcurrentTokenizedPriorityQueueTKey, TValue, TTokenTryGet(TToken, TKey) Method

Tries to get the key/value pair that is associated with the provided token.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool TryGet(
	TToken token,
	out TKey key
)

Parameters

token  TToken
The token.
key  TKey
On sucessfull return, contains the key of the key/value pair associated with the token.

Return Value

Boolean
True if the key/value pair associated with the token existed in the queue. False if the a key/value pair associated with the provided token is not in the queue.
See Also