System.Win.Registry.TRegistryIniFile.WriteInteger

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WriteInteger(const Section, Ident: string; Value: Integer); override;

C++

virtual void __fastcall WriteInteger(const System::UnicodeString Section, const System::UnicodeString Ident, int Value);

Properties

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

Description

Writes an integer value to an INI file.

Call WriteInteger to write an integer 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 integer 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, WriteInteger creates the section and key and sets its initial value to Value.

See Also

Code Examples