Sign in Join
FPDoc Onlineexperiment

TCollectionEnumerator.MoveNext function

Member of TCollectionEnumeratorpublicIn unit Classes

Move the position of the enumerator to the next position in the collection.

Declaration

pascal
function MoveNext: Boolean

Description

MoveNext puts the pointer on the next item in the collection, and returns True if this succeeded, or False if the pointer is past the last element in the list.

Errors

Note that if False is returned, calling GetCurrent will result in an exception.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.