System.Win.Registry.TRegIniFile.WriteInteger

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

HIDESBASE 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 TRegIniFile

Description

Writes a long integer value to a specified data value associated with a specified key.

Call WriteInteger to store an integer 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 integer value to write into the data value.

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

See Also