PriorityQueueTTryPeek(Int32, T) Method
Tries to return an object from the beginning of the
PriorityQueueT without removing it.
Namespace: Gemstone.Threading.CollectionsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.138 -- Release Build+45b5271a2dafa59bb75ccbb6019faabf2c5f392a
public bool TryPeek(
int priority,
out T? result
)
function TryPeek(priority, result);
- priority Int32
- The priority at which to peek into the queue.
- result T
-
When this method returns, result contains an object from the beginning of the
PriorityQueueT or an unspecified value if the operation failed.
Booleantrue if an object was returned successfully; otherwise, false.