ImmutableHashSet<T>.Enumerator 結構

定義

列舉不可變雜湊集的內容而不配置任何記憶體。

NuGet 套件System.Collections.Immutable (關於固定集合及其安裝方法)

public: value class ImmutableHashSet<T>::Enumerator : System::Collections::Generic::IEnumerator<T>
public struct ImmutableHashSet<T>.Enumerator : System.Collections.Generic.IEnumerator<T>
type ImmutableHashSet<'T>.Enumerator = struct
    interface IEnumerator<'T>
    interface IEnumerator
    interface IDisposable
Public Structure ImmutableHashSet(Of T).Enumerator
Implements IEnumerator(Of T)

類型參數

T
繼承
ImmutableHashSet<T>.Enumerator
實作

屬性

Current

取得位於目前列舉值位置的項目。

方法

Dispose()

ImmutableHashSet<T>.Enumerator 類別的目前執行個體所使用的資源釋出。

MoveNext()

將列舉程式前移至不可變雜湊集的下一個項目。

Reset()

將列舉程式設定至它的初始位置,就在雜湊集中的第一個項目之前。

明確介面實作

IEnumerator.Current

取得目前的元素。

適用於

執行緒安全性

此型別具備執行緒安全。