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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegIniFile |
Description
Retrieves a Boolean value from a specified data value associated with the current key.
System.Win.Registry.TRegIniFile.ReadBool inherits from System.Win.Registry.TRegistry.ReadBool. All content below this line refers to System.Win.Registry.TRegistry.ReadBool.
Retrieves a Boolean value from a specified data value associated with the current key.
Call ReadBool to read a Boolean value from a specified data value associated with the current key. Name is the name of the data value to read.
If successful, ReadBool returns the requested Boolean value. If the Registry entry does not contain a boolean or integer value, an exception is raised.