[This is preliminary documentation and is subject to change.]

Removes and returns the object at the beginning of the queue.

Namespace:  Phoenix.Collections
Assembly:  PhoenixShared (in PhoenixShared.dll) Version: 0.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public virtual T Dequeue()
Public Overridable Function Dequeue As T
public:
virtual T Dequeue()

Return Value

The object that is removed from the beginning of the queue.

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThe queue is empty.

See Also