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