PriorityQueueTTryDequeue(T) Method
Dequeues an item from the priority queue.
Namespace: Gemstone.Threading.CollectionsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.158 -- Release Build+5f840a50b8123565ea38e0c1d6c00b5650022b4a
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.