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