ImmutableHashSet<T>.Enumerator 構造体
定義
メモリを割り当てずに変更できないハッシュ セットの内容を列挙します。Enumerates the contents of the immutable hash set without allocating any memory.
NuGet パッケージ:System.Collections.Immutable (変更できないコレクションの概要とインストール方法)NuGet package: System.Collections.Immutable (about immutable collections and how to install)
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
- 継承
- 実装
プロパティ
Current |
列挙子の現在位置の要素を取得します。Gets the element at the current position of the enumerator. |
メソッド
Dispose() |
ImmutableHashSet<T>.Enumerator クラスの現在のインスタンスによって使用されているリソースを解放します。Releases the resources used by the current instance of the ImmutableHashSet<T>.Enumerator class. |
MoveNext() |
列挙子を、変更できないハッシュ セットの次の要素に進めます。Advances the enumerator to the next element of the immutable hash set. |
Reset() |
列挙子を初期位置、つまりハッシュ セットの最初の要素の前に設定します。Sets the enumerator to its initial position, which is before the first element in the hash set. |
明示的なインターフェイスの実装
IEnumerator.Current |
現在の要素を取得します。Gets the current element. |
適用対象
スレッド セーフ
この型はスレッド セーフです。This type is thread safe.