PriorityQueueTTryDequeue(Int32, T) Method
Dequeues an item from the priority queue.
Namespace: Gemstone.Threading.CollectionsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.150 -- Release Build+058518a49b1370d27547de9971386266c9284ccd
public bool TryDequeue(
int priority,
out T? result
)
Public Function TryDequeue (
priority As Integer,
<OutAttribute> ByRef result As T
) As Boolean
public:
bool TryDequeue(
int priority,
[OutAttribute] T% result
)
function TryDequeue(priority, result);
- priority Int32
- The priority at which the item should be dequeued.
- 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.