API:System.Win.Registry.TRegistryIniFile.ReadSectionValues

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReadSectionValues(const Section: string; Strings: TStrings); override;

C++

virtual void __fastcall ReadSectionValues(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 TRegistryIniFile

Description

Reads the values from all keys in a section of an ini file into a string list.

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

Reads the values from all keys in a section of an ini file into a string list.

Call ReadSectionValues to read the values from all keys in a specified section of an ini file into a string list object. The values are added to the string list as strings of the form KeyName=ValueName.

Section identifies the section in the file from which to read key values.

Strings is the string list object into which to read the values. Strings can point to a TStrings object, or to a component property, such as Items for a TListBox component.

See Also