ImmutableQueue<T>.Enumerator Struct

Definition

Enumerates the contents of an immutable queue without allocating any memory.

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

public: value class ImmutableQueue<T>::Enumerator
public struct ImmutableQueue<T>.Enumerator
type ImmutableQueue<'T>.Enumerator = struct
Public Structure ImmutableQueue(Of T).Enumerator

Type Parameters

T
Inheritance
ImmutableQueue<T>.Enumerator

Properties

Current

Gets the element at the current position of the enumerator.

Methods

MoveNext()

Advances the enumerator to the next element of the immutable queue.

Applies to

Thread Safety

This type is thread safe.