Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TCollectionEnumerator.MoveNext

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

Declaration

Source position: classesh.inc line 800

public function TCollectionEnumerator.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

GetCurrent

  

Return the current pointer in the list.


Documentation generated on: Nov 22 2024