System.Win.Registry.TRegIniFile.WriteBool

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WriteBool(const Section, Ident: string; Value: Boolean);

C++

HIDESBASE void __fastcall WriteBool(const System::UnicodeString Section, const System::UnicodeString Ident, bool Value);

Properties

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

Description

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

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.

See Also