PriorityQueueTTryDequeue(T) Method
Dequeues an item from the priority queue.
Namespace: Gemstone.Threading.CollectionsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.147 -- Release Build+71918e29738e2d0700de8aec0ad72324b16f1428
public bool TryDequeue(
out T? result
)
Public Function TryDequeue (
<OutAttribute> ByRef result As T
) As Boolean
public:
bool TryDequeue(
[OutAttribute] T% result
)
function TryDequeue(result);
- result T
- The item that was dequeued, or the default value if no item was dequeued.
BooleanTrue if an item was dequeued; false if the queue is empty.