RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIniFile.ReadSections Method

Reads the names of all sections in an INI file into a string list.

Pascal
procedure ReadSections(Strings: TStrings); override;
C++
virtual __fastcall ReadSections(TStrings Strings);

Call ReadSections to retrieve the names of all sections in an INI file into a string list object. 

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

This version of ReadSections is only available if the application is compiled for Windows. On Linux, ReadSections is inherited from TMemIniFile

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!