ImmutableArray<T>.Enumerator 结构

定义

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

类型参数

T
继承
ImmutableArray<T>.Enumerator

注解

重要

此枚举器应实现 IDisposableThis enumerator should not implement IDisposable. 迭代器应以内联方式出现在 foreach 循环中,而不会导致客户端 try/finally 帧。The iterator should inline in a foreach loop and not result in a try/finally frame in the client.

属性

Current

获取当前项。Gets the current item.

方法

MoveNext()

推进到数组中的下一个值。Advances to the next value in the array.

适用于