Removes the element at the head of the PriorityQueue.
Namespace: LSCollectionsAssembly: Tsp (in Tsp.exe) Versión: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public virtual Object Dequeue() |
Visual Basic |
---|
Public Overridable Function Dequeue As Object |
Visual C++ |
---|
public: virtual Object^ Dequeue() |
Return Value
The element at the head of the PriorityQueue.
Exceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | If Count is zero. |