System.IniFiles.TMemIniFile.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 | TMemIniFile |
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.
Data read by ReadSections comes from the in-memory copy of the INI file, not the copy on disk.