System.Win.Registry.TRegistryIniFile.WriteInteger
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);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegistryIniFile |
説明
整数値を INI ファイルに書き込みます。
WriteInteger を呼び出すと,整数値を INI ファイルに書き込めます。Section は書き込みたいキーを含むセクションを,Ident は値を設定したいキーを,Value には書き込まれる整数値が入ります。
メモ: 存在しないセクションにデータ値を書き込もうとしたり,存在しないキーにデータを書き込もうとしてもエラーにはなりません。この場合,WriteInteger メソッドはセクションおよびキーを作成し,初期値を Value に設定します。