Show / Hide Table of Contents

Iterator 类

智能合约中的迭代器。

命名空间: Neo.SmartContract.Framework.Services

程序集:Neo.SmartContract.Framework

语法

public class Iterator
public class Iterator<T> : Iterator, IApiInterface

属性

名称说明
Value获取集合中位于迭代器当前位置的元素

方法

名称说明
Next()将迭代器推进到集合的下一个元素

也可通过 Storage.Find() 来构造 Iterator 对象。