API:System.Win.Registry.TRegIniFile.ReadBool
Delphi
function ReadBool(const Section, Ident: string; Default: Boolean): Boolean;
C++
HIDESBASE bool __fastcall ReadBool(const System::UnicodeString Section, const System::UnicodeString Ident, bool Default);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegIniFile |
説明
カレントキーに関連付けられた特定のデータ値から論理値を取得します。
System.Win.Registry.TRegIniFile.ReadBool は System.Win.Registry.TRegistry.ReadBool を継承しています。以下の内容はすべて System.Win.Registry.TRegistry.ReadBool を参照しています。
カレントキーに関連付けられた特定のデータ値から論理値を取得します。
ReadBool を呼び出すと,キーに関連付けられている特定のデータ値から論理値を読み出すことができます。Name は読み出すデータ値の名前です。
正常に処理されれば,ReadBool は要求された論理値を返します。Registry エントリが論理値または整数値を格納していない場合は例外が生成されます。