Removes the element at the head of the PriorityQueue.

Namespace: LSCollections
Assembly: 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

ExceptionCondition
System..::..InvalidOperationExceptionIf Count is zero.

See Also