System.IniFiles.TCustomIniFile.WriteInteger
Delphi
procedure WriteInteger(const Section, Ident: string; Value: Integer); virtual;
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.IniFiles.pas System.IniFiles.hpp |
System.IniFiles | TCustomIniFile |
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 contains the key to which to write. Ident
is the name of the key (identifier) for which to set a value. Value
is the integer value to write.
Tip: 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
- System.IniFiles.TCustomIniFile.WriteBool
- System.IniFiles.TCustomIniFile.WriteDate
- System.IniFiles.TCustomIniFile.WriteDateTime
- System.IniFiles.TCustomIniFile.WriteFloat
- System.IniFiles.TCustomIniFile.WriteString
- System.IniFiles.TCustomIniFile.WriteTime