System.IniFiles.TIniFile.ReadSections
Delphi
procedure ReadSections(Strings: TStrings); override;
C++
virtual void __fastcall ReadSections(System::Classes::TStrings* Strings)/* overload */;
inline void __fastcall ReadSections(const System::UnicodeString Section, System::Classes::TStrings* Strings){ TCustomIniFile::ReadSections(Section, Strings); }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.IniFiles.pas System.IniFiles.hpp |
System.IniFiles | TIniFile |
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 object.
Strings
specifies the string object to hold the retrieved names. Strings
can point to a TStrings object, or to a component property, such as Items, for a TListBox component.
This version of ReadSections is only available if the application is compiled for Windows.