API:System.Win.Registry.TRegistryIniFile.ReadSubSections

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

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.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegistryIniFile

Description

Reads the names of all sections in a file into a string list.

System.Win.Registry.TRegistryIniFile.ReadSubSections inherits from System.IniFiles.TCustomIniFile.ReadSubSections. All content below this line refers to System.IniFiles.TCustomIniFile.ReadSubSections.

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