System.Win.Registry.TRegistry.ReadBool

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ReadBool(const Name: string): Boolean;

C++

bool __fastcall ReadBool(const System::UnicodeString Name);

Properties

Type Visibility Source Unit Parent
function public
System.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegistry

Description

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.

See Also