Click or drag to resize

ConcurrentTokenizedPriorityQueueTKey, TValue, TTokenTryPeek(TKey, TValue) Method

Tries to retrieve the element with minimum key.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool TryPeek(
	out TKey key,
	out TValue value
)

Parameters

key  TKey
On successfull return, contains the minimum key.
value  TValue
On successfull return, contains the value associated with the minimum key.

Return Value

Boolean
True if the queue contained at least one element that could be Peek'd; otherwise false.
See Also