System.IniFiles.TCustomIniFile.ReadSubSections

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReadSubSections(const Section: string; Strings: TStrings; Recurse: Boolean = False); virtual;

C++

virtual void __fastcall ReadSubSections(const System::UnicodeString Section, System::Classes::TStrings* Strings, bool Recurse = false);

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 a file into a string list.

Call ReadSubSections to retrieve the names of all sections in a 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.

ReadSubSections retrieves the names of all subsections if Recurse is True.

See Also