[This is preliminary documentation and is subject to change.]
Removes and returns the object at the beginning of the queue.
Namespace:
Phoenix.CollectionsAssembly: 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
Exception | Condition |
---|---|
System..::.InvalidOperationException | The queue is empty. |