ImmutableDictionary<TKey,TValue>.Enumerator Struktura

Definice

Vypíše obsah neměnného slovníku bez přidělení jakékoli paměti.

balíček NuGet: System.Collections.Immutable (o neměnných kolekcích a instalaci)

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))

Parametry typu

TKey
TValue
Dědičnost
ImmutableDictionary<TKey,TValue>.Enumerator
Implementuje

Vlastnosti

Current

Získá prvek na aktuální pozici výčtu.

Metody

Dispose()

Uvolní prostředky používané aktuální instancí třídy ImmutableDictionary<TKey,TValue>.Enumerator.

MoveNext()

Přejde výčet na další prvek neměnného slovníku.

Reset()

Nastaví enumerátor na jeho počáteční pozici, což je před prvním prvkem ve slovníku.

Explicitní implementace rozhraní

IEnumerator.Current

Získá aktuální prvek.

Platí pro

Bezpečný přístup z více vláken

Tento typ je bezpečný pro přístup z více vláken.