Sign in Join
FPDoc Onlineexperiment

TComponent.GetEnumerator function

Member of TComponentpublicIn unit Classes

Create an IEnumerator instance.

Declaration

pascal
function GetEnumerator: TComponentEnumerator

Description

GetEnumerator is the implementation of the IEnumerable interface for TComponent. It creates a TComponentEnumerator instance and returns it's IEnumerator interface. The enumerator enumerates all child components of the component instance.

See also

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