System.IniFiles.TIniFile.ReadSections

提供:RAD Studio API Documentation

Delphi

procedure ReadSections(Strings: TStrings); override;

C++

virtual void __fastcall ReadSections(System::Classes::TStrings* Strings)/* overload */;
inline void __fastcall  ReadSections(const System::UnicodeString Section, System::Classes::TStrings* Strings){ TCustomIniFile::ReadSections(Section, Strings); }

プロパティ

種類 可視性 ソース ユニット 親
procedure
function
public
System.IniFiles.pas
System.IniFiles.hpp
System.IniFiles TIniFile


説明

INI ファイルのすべてのセクションから、文字列リストに読み込みます。

ReadSections を呼び出すと、INI ファイルのすべてのセクションから、文字列リスト オブジェクトに抽出します。

Strings は、抽出した名前群を保持する、文字列オブジェクトを示します。 Strings は、TStrings オブジェクトを指すことも、Items といった、TListBox コンポーネントのコンポーネント プロパティを指すことも可能です。

このバージョンの ReadSections は、アプリケーションが Windows 用にコンパイルされている場合にのみ、利用可能です。

関連項目