ImmutableHashSet<T>.Enumerator 結構
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列舉不可變雜湊集的內容而不配置任何記憶體。
NuGet 套件:System.Collections.Immutable (關於固定集合及其安裝方法)
public: value class ImmutableHashSet<T>::Enumerator : System::Collections::Generic::IEnumerator<T>
C#
public struct ImmutableHashSet<T>.Enumerator : System.Collections.Generic.IEnumerator<T>
type ImmutableHashSet<'T>.Enumerator = struct
interface IEnumerator<'T>
interface IEnumerator
interface IDisposable
type ImmutableHashSet<'T>.Enumerator = struct
interface IEnumerator<'T>
interface IDisposable
interface IEnumerator
Public Structure ImmutableHashSet(Of T).Enumerator
Implements IEnumerator(Of T)
- T
- 繼承
- 實作
Current |
取得位於目前列舉值位置的項目。 |
Dispose() |
將 ImmutableHashSet<T>.Enumerator 類別的目前執行個體所使用的資源釋出。 |
Move |
將列舉程式前移至不可變雜湊集的下一個項目。 |
Reset() |
將列舉程式設定至它的初始位置,就在雜湊集中的第一個項目之前。 |
IEnumerator. |
取得目前的元素。 |
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |
此型別具備執行緒安全。