Skip to content

TCollectionEnumerator.MoveNext

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

Declaration

Source position: classesh.inc line 515

public 
  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

Name Description
GetCurrent Return the current pointer in the list