ImmutableQueue<T>.Enumerator 结构

定义

枚举不可变队列的内容,而无需分配任何内存。Enumerates the contents of an immutable queue without allocating any memory.

NuGet package: System.Collections.Immutable关于不可变集合和安装方法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

类型参数

T
继承
ImmutableQueue<T>.Enumerator

属性

Current

获取枚举数当前位置的元素。Gets the element at the current position of the enumerator.

方法

MoveNext()

将枚举器推进到不可变队列的下一个元素。Advances the enumerator to the next element of the immutable queue.

适用于

线程安全性

此类型是线程安全的。This type is thread safe.