RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegIniFile.ReadSectionValues Method

Retrieves the data-values associated with a specified key, and stores the retrieved values in a string object.

Pascal
procedure ReadSectionValues(const Section: string; Strings: TStrings);
C++
__fastcall ReadSectionValues(const AnsiString Section, TStrings Strings);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!