PriorityQueue<TElement,TPriority>.UnorderedItemsCollection.Enumerator Struct

Definition

Enumerates the element and priority pairs of a PriorityQueue<TElement,TPriority>, without any ordering guarantees.

public: value class PriorityQueue<TElement, TPriority>::UnorderedItemsCollection::Enumerator : System::Collections::Generic::IEnumerator<ValueTuple<TElement, TPriority>>
public struct PriorityQueue<TElement,TPriority>.UnorderedItemsCollection.Enumerator : System.Collections.Generic.IEnumerator<(TElement, TPriority)>
type PriorityQueue<'Element, 'Priority>.UnorderedItemsCollection.Enumerator = struct
    interface IEnumerator<ValueTuple<'Element, 'Priority>>
    interface IEnumerator
    interface IDisposable
Public Structure PriorityQueue(Of TElement, TPriority).UnorderedItemsCollection.Enumerator
Implements IEnumerator(Of ValueTuple(Of TElement, TPriority))

Type Parameters

TElement
TPriority
Inheritance
PriorityQueue<TElement,TPriority>.UnorderedItemsCollection.Enumerator
Implements

Properties

Current

Gets the element at the current position of the enumerator.

Methods

Dispose()

Releases all resources used by the PriorityQueue<TElement,TPriority>.UnorderedItemsCollection.Enumerator.

MoveNext()

Advances the enumerator to the next element of the UnorderedItems.

Explicit Interface Implementations

IEnumerator.Current

Gets the element in the collection at the current position of the enumerator.

IEnumerator.Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.

IEnumerator<ValueTuple<TElement,TPriority>>.Current

Gets the element in the collection at the current position of the enumerator.

Applies to