API:Vcl.Dialogs.TTaskDialogButtons.GetEnumerator

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetEnumerator: TTaskDialogButtonsEnumerator;

C++

HIDESBASE TTaskDialogButtonsEnumerator* __fastcall GetEnumerator();

Properties

Type Visibility Source Unit Parent
function public
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TTaskDialogButtons

Description

Returns a TCollection enumerator.

Vcl.Dialogs.TTaskDialogButtons.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