System.IniFiles.TCustomIniFile.InternalReadSections

提供: RAD Studio API Documentation
移動先: 案内検索

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);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
System.IniFiles.pas
System.IniFiles.hpp
System.IniFiles TCustomIniFile

説明

INI ファイルにあるすべてのセクションの名前を文字列リストに読み出します。

InternalReadSections メソッドは、INI ファイルにあるすべてのセクションの名前を文字列リストに読み出すために内部的に使用されます。

Strings パラメータは、取得されたセクション名を保持する文字列リストを指定します。 Section は、キー名のリストを取り出すセクションを指定します。

メモ:  直接 InternalReadSections メソッドを呼び出さないでください。 代わりに、ReadSections メソッド、もしくは ReadSubSections メソッドを呼び出してください。

関連項目