PriorityQueueTTryDequeue(T) Method

Dequeues an item from the priority queue.

Definition

Namespace: Gemstone.Threading.Collections
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.167 -- Release Build+6c665d9111cb5e0fc32e9aa6c693dcb89c216eb7
public bool TryDequeue(
	out T? result
)

Parameters

result  T
The item that was dequeued, or the default value if no item was dequeued.

Return Value

Boolean
True if an item was dequeued; false if the queue is empty.

See Also