System.Win.Registry.TRegistryIniFile.ReadSection
Delphi
procedure ReadSection(const Section: string; Strings: TStrings); override;
C++
virtual void __fastcall ReadSection(const System::UnicodeString Section, System::Classes::TStrings* Strings);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegistryIniFile |
説明
ReadSection メソッドは INI ファイルの指定されたセクションにあるキー名をすべて文字列リストに読み出します。
ReadSection を呼び出すと,INI ファイルの指定のセクションにあるすべてのキーの名前を文字列リストオブジェクトに取り出すことができます。
Section はキー名のリストの取り出し先になるセクションを指定し,Strings は取り出される名前を保持する文字列オブジェクトを指定します。Strings は文字列リストなどの TStrings オブジェクト,または TStrings 自体である TListBox コンポーネントの Items などのコンポーネントプロパティを指すことができます。