ImmutableDictionary<TKey,TValue>.Enumerator Struktura

Definicja

Wylicza zawartość niezmiennego słownika bez przydzielania pamięci.

Pakiet NuGet: System.Collections.Immutable (informacje o niezmiennych kolekcjach i sposobie instalowania)

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
Dziedziczenie
ImmutableDictionary<TKey,TValue>.Enumerator
Implementuje

Właściwości

Current

Pobiera element na bieżącej pozycji modułu wyliczającego.

Metody

Dispose()

Zwalnia zasoby używane przez bieżące wystąpienie klasy ImmutableDictionary<TKey,TValue>.Enumerator.

MoveNext()

Przechodzi do następnego elementu słownika niezmiennego.

Reset()

Ustawia moduł wyliczający na jego początkowe położenie, czyli przed pierwszym elementem w słowniku.

Jawne implementacje interfejsu

IEnumerator.Current

Pobiera bieżący element.

Dotyczy

Bezpieczeństwo wątkowe

Ten typ jest bezpieczny wątkowo.