Data.Bind.ObjectScope.TGeneratorFieldDefs.GetEnumerator

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetEnumerator: TEnumerator;

C++

HIDESBASE Data::Bind::Components::TCollectionEnumerator__1<TGeneratorFieldDef*>* __fastcall GetEnumerator();

Properties

Type Visibility Source Unit Parent
function public
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Data.Bind.ObjectScope TGeneratorFieldDefs

Description

Returns a TCollection enumerator.

Data.Bind.ObjectScope.TGeneratorFieldDefs.GetEnumerator inherits from System.Classes.TCollection.GetEnumerator. All content below this line refers to System.Classes.TCollection.GetEnumerator.

Returns a TCollection enumerator.

GetEnumerator returns a TCollectionEnumerator reference, which enumerates all items in the collection.

To do so, call the TCollectionEnumerator GetCurrent method within a While MoveNext do loop.

See Also