System.Win.Registry.TRegIniFile.ReadSection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReadSection(const Section: string; Strings: TStrings);

C++

void __fastcall ReadSection(const System::UnicodeString Section, System::Classes::TStrings* Strings);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegIniFile

Description

Retrieves the names of all data values associated with a key, and stores the names in a TStrings object.

Call ReadSection to retrieve the names of all data values associated with a key into a TStrings object.

Section is a string identifying the key for which to retrieve data-value names.

Strings specifies the string object to hold the retrieved names. Strings can point to a TStrings object such as a string list, or to a component property, such as Items for a TListBox component, that is a TStrings object itself.

See Also