PriorityQueueTTryPeek(T) Method

Tries to return an object from the beginning of the PriorityQueueT without removing it.

Definition

Namespace: Gemstone.Threading.Collections
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.128 -- Release Build+d4a9a653be1def5888b9be91bb1825c8655f3529
public bool TryPeek(
	out T? result
)

Parameters

result  T
When this method returns, result contains an object from the beginning of the PriorityQueueT or an unspecified value if the operation failed.

Return Value

Boolean
true if an object was returned successfully; otherwise, false.

See Also