System.Win.Registry.TRegIniFile.ReadSectionValues
Delphi
procedure ReadSectionValues(const Section: string; Strings: TStrings);
C++
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 | TRegIniFile |
Description
Retrieves the data-values associated with a specified key, and stores the retrieved values in a string object.
Call ReadSectionValues to read all data values associated with a specified key into a string object.
Section is the name of the key from which to retrieve data-values.
Strings specifies the string list object to hold the retrieved values. 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. Use the Values property of the string object to access a specific string in the object.