System.IniFiles.TCustomIniFile.InternalReadSections

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InternalReadSections(const Section: string; Strings: TStrings;  SubSectionNamesOnly, Recurse: Boolean); virtual;

C++

virtual void __fastcall InternalReadSections(const System::UnicodeString Section, System::Classes::TStrings* Strings, bool SubSectionNamesOnly, bool Recurse);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.IniFiles.pas
System.IniFiles.hpp
System.IniFiles TCustomIniFile

Description

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

The InternalReadSections method is used internally to retrieve the names of all the sections in an INI file into a string list.

The Strings parameter specifies the string list that holds the retrieved section names. Section identifies the section from which to retrieve a list of key names.

Note: Do not call InternalReadSections directly. Instead, call ReadSections or ReadSubSections.

See Also