ImmutableHashSet<T>.Enumerator Struktura
Definice
Vytvoří výčet obsahu neměnné sady hash bez přidělení paměti.Enumerates the contents of the immutable hash set without allocating any memory.
Balíček NuGet: System. Collections. unmutable (informace o neměnných kolekcích a způsobu jejich instalace)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)
Parametry typu
- T
- Dědičnost
- Implementuje
Vlastnosti
Current |
Získá prvek na aktuální pozici čítače výčtu.Gets the element at the current position of the enumerator. |
Metody
Dispose() |
Uvolní prostředky používané aktuální instancí třídy ImmutableHashSet<T>.Enumerator.Releases the resources used by the current instance of the ImmutableHashSet<T>.Enumerator class. |
MoveNext() |
Posune enumerátor na další prvek neměnné sady hodnot hash.Advances the enumerator to the next element of the immutable hash set. |
Reset() |
Nastaví enumerátor na jeho počáteční pozici, která je před prvním prvkem v sadě hodnot hash.Sets the enumerator to its initial position, which is before the first element in the hash set. |
Explicitní implementace rozhraní
IEnumerator.Current |
Získá aktuální prvek.Gets the current element. |
Platí pro
Bezpečný přístup z více vláken
Tento typ je bezpečný pro přístup z více vláken.This type is thread safe.