System.Win.Registry.TRegIniFile.ReadSection

提供:RAD Studio API Documentation

Delphi

procedure ReadSection(const Section: string; Strings: TStrings);

C++

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 TRegIniFile

説明

キーに関連付けられているすべてのデータ値の名前を取り出し,TStrings オブジェクトに格納します。

ReadSection メソッドを呼び出すと,キーに関連付けられているすべてのデータ値の名前を取り出し,TStrings オブジェクトに格納できます。

Section はデータ値の名前を取り出すキーを識別する文字列です。

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

関連項目