Show: Delphi C++
Display Preferences

System.IniFiles.TCustomIniFile.WriteBool

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.IniFiles.pas
System.IniFiles.hpp
System.IniFiles TCustomIniFile

Description

Writes a Boolean value to an ini file.

Call WriteBool to write a Boolean value to an ini file. Section identifies the section in the file that contain the key to which to write. Ident is the name of the key for which to set a value. Value is the Boolean value to write.

Note: Attempting to write a data value to a nonexistent section or attempting to write data to a nonexistent key are not errors. In these cases, WriteBool creates the section and key and sets its initial value to Value.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance