Sign in Join
FPDoc Onlineexperiment

TStringsEnumerator class

In unit Classes

Implements IEnumerator for the TStrings class.

Declaration

pascal
TStringsEnumerator = class

Description

TStringsEnumerator implements the IEnumerator interface for the TStrings class, so the TStrings class can be used in a for ... in loop. It is returned by the GetEnumerator method of TStrings.

See also

Properties

CurrentpublicCurrent pointer in the list.

Methods

CreatepublicInitialize a new instance of TStringsEnumerator.
GetCurrentpublicReturn the current pointer in the list.
MoveNextpublicMove the position of the enumerator to the next position in the list.

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