API:System.Win.Registry.TRegIniFile.WriteInteger

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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

C++

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

説明

整数値をカレントキーに関連付けられた特定のデータ値名で格納します。

System.Win.Registry.TRegIniFile.WriteInteger は System.Win.Registry.TRegistry.WriteInteger を継承しています。以下の内容はすべて System.Win.Registry.TRegistry.WriteInteger を参照しています。

整数値をカレントキーに関連付けられた特定のデータ値名で格納します。

WriteInteger を呼び出すと,整数値をカレントキーに関連付けられたデータ値に格納できます。

Name はデータを格納するデータ値の名前が入っている文字列です。Name が既存の名前のときには現在の値は WriteInteger によって上書きされます。Name が新規の名前のときには新しく作成されます。

Value はレジストリに格納する整数値です。

WriteInteger が失敗すると,例外が生成され,値はレジストリに書き込まれません。

関連項目