Show / Hide Table of Contents

Iterator Class

Represents the enumerator.

Namespace: Neo.SmartContract.Framework.Services.Neo

Assembly: Neo.SmartContract.Framework

Syntax

public class Iterator<TKey, TValue>

Attributes

NameDescription
Key Gets the Key for the current cursor
Value Gets the value for the current cursor

Method

NameDescription
Next() Moves the cursor down and returns the cursor status (true: not to the end; false: to the end)

Constructor

The Iterator\<TKey, TValue> object is constructed through Storage.Find(...) .