System.IniFiles.TCustomIniFile.ReadSections
Delphi
procedure ReadSections(Strings: TStrings); overload; virtual; abstract;
procedure ReadSections(const Section: string; Strings: TStrings); overload; virtual;
C++
virtual void __fastcall ReadSections(System::Classes::TStrings* Strings) = 0 /* overload */;
virtual void __fastcall ReadSections(const System::UnicodeString Section, System::Classes::TStrings* Strings)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.IniFiles.pas System.IniFiles.hpp |
System.IniFiles | TCustomIniFile |
Description
Reads the names of all sections in an ini file into a string list.
Call ReadSections to retrieve the names of all sections in an ini file into a string list.
Strings specifies the string object to hold the retrieved names. Strings can point to a TStrings descendant, or to a component property, such as Items for a TListBox component.
Section identifies the section from which to retrieve a list of key names.
ReadSections retrieves the names of all subsections.