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