PriorityQueue<TElement,TPriority>.UnorderedItemsCollection.Enumerator Struct
Definition
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))
Type Parameters
- TElement
- TPriority
- Inheritance
- 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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈