System.Win.Registry.TRegistryIniFile.ReadSections

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReadSections(Strings: TStrings); overload; override;
procedure ReadSections(const Section: string; Strings: TStrings); overload; override;

C++

virtual void __fastcall ReadSections(System::Classes::TStrings* Strings)/* overload */;
virtual void __fastcall ReadSections(const System::UnicodeString Section, System::Classes::TStrings* Strings)/* overload */;

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

Call ReadSections to retrieve the names of all sections in a registry key 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, that is a TStrings object itself.

ReadSections does not retrieve the names of subsections.

See Also