API:System.Win.Registry.TRegIniFile.WriteInteger
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
Stores an integer value in a specifically named data value associated with the current key.
System.Win.Registry.TRegIniFile.WriteInteger inherits from System.Win.Registry.TRegistry.WriteInteger. All content below this line refers to System.Win.Registry.TRegistry.WriteInteger.
Stores an integer value in a specifically named data value associated with the current key.
Call WriteInteger to store an integer value in a data value associated with the current key.
Name is a string containing the name of the data value in which to store data. If Name already exists, its current value is overwritten by WriteInteger. If Name does not exist, it is created.
Value is a integer value to store in the registry.
If WriteInteger fails, an exception is raised, and the value is not written to the registry.