Activity.Enumerator<T> 结构

定义

枚举存储在对象 Activity 上的数据。

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

类型参数

T

正在枚举的类型。

继承
Activity.Enumerator<T>

属性

名称 说明
Current

获取枚举器当前位置的元素。

方法

名称 说明
GetEnumerator()

返回一个枚举器,该枚举器循环访问存储在 Activity 对象上的数据。

MoveNext()

将枚举器前进到数据的下一个元素。

适用于