PriorityQueueTTryPeek(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.155 -- Release Build+fbb54a9347e09f19695376cbf86e09a9ff9ee9ca
public bool TryPeek(
out T? result
)
Public Function TryPeek (
<OutAttribute> ByRef result As T
) As Boolean
public:
bool TryPeek(
[OutAttribute] T% result
)
function TryPeek(result);
- 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.