System.Win.Registry.TRegistryIniFile.ReadSubSections

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

Delphi

procedure ReadSubSections(const Section: string; Strings: TStrings; Recurse: Boolean = False); override;

C++

virtual void __fastcall ReadSubSections(const System::UnicodeString Section, System::Classes::TStrings* Strings, bool Recurse = false);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
System.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegistryIniFile

説明

レジストリ キー内の全セクションの名前を文字列リストに読み込みます。

ReadSubSections を呼び出すと、レジストリ キー内の全セクションの名前を文字列リストに取り出すことができます。

Strings は、取り出した名前を格納する文字列オブジェクトを指定します。 Strings は、TStrings オブジェクトか、または TStrings オブジェクト自体である TListBox コンポーネントの Items などのコンポーネント プロパティを指すことができます。

ReadSubSections は、Recurse が True のときに全サブセクションの名前を取り出します。

関連項目