IQueue<T>.TryExtract(T) Method
Attempts to remove and return the element at the beginning of the queue without considering ownership.
public
function TryExtract(out item: T): Boolean;
Parameters
- item
- Type: T
The element that was removed if the operation was successful, Default(T) otherwise.
Return Value
Type: Boolean
True if an element was removed and returned from the beginning of the queue; otherwise, False.