Method GetEnumerator
GetEnumerator()
Gets the enumerator of the priority queue, which will not return elements in any specified ordering.
Declaration
public virtual IEnumerator<T> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<T> | The enumerator of the priority queue. |
Remarks
Returned enumerator does not iterate elements in sorted order.