RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegIniFile.WriteBool Method

Writes a Boolean value to a specified data value associated with a specified key.

Pascal
procedure WriteBool(const Section: string; const Ident: string; Value: Boolean);
C++
__fastcall WriteBool(const AnsiString Section, const AnsiString Ident, Boolean Value);

Call WriteBool to store a Boolean value in a data value associated with a specified key. 

Section is a string identifying the key into which to store a data value. Ident is a string identifying the name of the data value into which to write. Value is the Boolean value to write into the data value.

Note: This function overrides the WriteBool procedure of TRegistry, from which TRegIniFile is derived. To call the WriteBool procedure of TRegistry instead of this procedure, cast the call to WriteBool as TRegistry.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!