Sign in Join
FPDoc Onlineexperiment

TCollectionEnumerator class

In unit Classes

Implements IEnumerator for the TCollection class.

Declaration

pascal
TCollectionEnumerator = class

Descends from it: TCommandEnumerator TDependencyEnumerator TNotifyEventEnumerator TPackageEnumerator TPackageVariantEnumerator TSourceEnumerator TTargetEnumerator

Description

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

See also

Properties

CurrentpublicCurrent pointer in the list.

Methods

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

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