PriorityQueue<TElement,TPriority>.UnorderedItemsCollection.Enumerator Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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))
- TElement
- TPriority
- Inheritance
- Implements
Current |
Gets the element at the current position of the enumerator. |
Dispose() |
Releases all resources used by the PriorityQueue<TElement,TPriority>.UnorderedItemsCollection.Enumerator. |
Move |
Advances the enumerator to the next element of the UnorderedItems. |
IEnumerator. |
Gets the element in the collection at the current position of the enumerator. |
IEnumerator. |
Sets the enumerator to its initial position, which is before the first element in the collection. |
IEnumerator<Value |
Gets the element in the collection at the current position of the enumerator. |
Product | Versions |
---|---|
.NET | 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: