Sign in Join
FPDoc Onlineexperiment

TInterfaceListEnumerator class

In unit Classes

Implements IEnumerator for the TInterfaceList class.

Declaration

pascal
TInterfaceListEnumerator = class

Description

TInterfaceListEnumerator implements the IEnumerator interface for the TInterfaceList class, so the TInterfaceList class can be used in a for ... in loop over the Components child components of the component. It is returned by the GetEnumerator method of TInterfaceList.

See also

Properties

CurrentpublicCurrent pointer in the list.

Methods

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

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