RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegistry.ReadBool Method

Retrieves a Boolean value from a specified data value associated with the current key.

Pascal
function ReadBool(const Name: string): Boolean;
C++
__fastcall Boolean ReadBool(const AnsiString Name);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!