RAD Studio VCL Reference
|
Reads all the key names from a specified section of an INI file into a string list.
procedure ReadSection(const Section: string; Strings: TStrings); override;
virtual __fastcall ReadSection(const AnsiString Section, TStrings Strings);
Call ReadSection to retrieve the names of all keys within a specified section of an INI file into a string list.
Section identifies the section from which to retrieve a list of key names. Strings specifies the string to hold the retrieved names. Strings can point to a TStrings descendant such as a string list, or to a component property, such as Items for a TListBox component.
Data read by ReadSection comes from the in-memory copy of the INI file, not the copy on disk.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|