API:System.Actions.TContainedActionList.GetEnumerator

From RAD Studio API Documentation

Delphi

function GetEnumerator: TActionListEnumerator;

C++

HIDESBASE TActionListEnumerator* __fastcall GetEnumerator(void);

Properties

Type Visibility Source Unit Parent
function public
System.Actions.pas
System.Actions.hpp
System.Actions TContainedActionList

Description

Returns a TComponent enumerator. {{#multireplace:System.Actions.TContainedActionList.GetEnumerator|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TComponent.GetEnumerator|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Classes.TComponent.GetEnumerator|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Returns a TComponent enumerator.

GetEnumerator returns a TComponentEnumerator reference, which enumerates the components contained within a specified containing component.

To process all these subcomponents, call the TComponentEnumerator GetCurrent method within a While MoveNext do loop.

See Also