ConcurrentTokenizedPriorityQueueTKey, TValue, TTokenTryGet(TToken, TKey, TValue) Method |
Tries to get the key/value pair that is associated with the provided token.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public bool TryGet(
TToken token,
out TKey key,
out TValue value
)
Parameters
- token TToken
- The token.
- key TKey
- On sucessfull return, contains the key of the key/value pair associated with the token.
- value TValue
- On sucessfull return, contains the value of the key/value pair associated with the token.
Return Value
BooleanTrue 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