Sign in Join
FPDoc Onlineexperiment

TListEnumerator class

In unit Classes

Implements IEnumerator for the TList class.

Declaration

pascal
TListEnumerator = class(TFPListEnumerator)

Inheritance

  1. TListEnumerator
  2. TFPListEnumerator

Description

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

See also

Methods

CreatepublicInitialize a new instance of TListEnumerator.

Inherited

From TFPListEnumerator (3)

Current GetCurrent MoveNext

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