IEnumerator.MoveNext
Move to the next value
Declaration
Source position: objpash.inc line 277
default
function MoveNext : Boolean;
Description
MoveNext should move the current item pointer to the next available item. It should return True if an item is available, False if no more items are available. The first time it is called It will be called at the beginning of the for loop, so it should position the enumerator on the first value (if there is one). After MoveNext has returned True, IEnumerator.GetCurrent will be called to retrieve the item.
See also
Name | Description |
---|---|
IEnumerator.GetCurrent | Returns the current element in the iteration cycle |
IEnumerator.Reset | Reset the pointer |