System.Classes.TStrings.GetEnumerator
Delphi
function GetEnumerator: TStringsEnumerator;
C++
TStringsEnumerator* __fastcall GetEnumerator(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStrings |
Description
Returns a TStrings enumerator.
GetEnumerator returns a TStringsEnumerator reference, which enumerates the strings in a TStrings object.
To process all these strings, call the TStringsEnumerator GetCurrent method within a While MoveNext do loop.