RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegIniFile.WriteInteger Method

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

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

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.
 

 

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