Data.Bind.DBScope.TCustomBindSourceDB.GetEnumerator
Delphi
function GetEnumerator(const AMemberName: string; ABufferCount: Integer): IScopeRecordEnumerator; overload;
function GetEnumerator(const AMemberName: string; ABuffered: Boolean): IScopeRecordEnumerator; overload;
C++
HIDESBASE Data::Bind::Components::_di_IScopeRecordEnumerator __fastcall GetEnumerator(const System::UnicodeString AMemberName, int ABufferCount)/* overload */;
HIDESBASE Data::Bind::Components::_di_IScopeRecordEnumerator __fastcall GetEnumerator(const System::UnicodeString AMemberName, bool ABuffered)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Data.Bind.DBScope.pas Data.Bind.DBScope.hpp |
Data.Bind.DBScope | TCustomBindSourceDB |
Description
Returns a TComponent enumerator. {{#multireplace:Data.Bind.DBScope.TCustomBindSourceDB.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.