System.Win.Registry.TRegIniFile.ReadInteger
Delphi
function ReadInteger(const Section, Ident: string; Default: Integer): Integer;
C++
HIDESBASE int __fastcall ReadInteger(const System::UnicodeString Section, const System::UnicodeString Ident, int Default);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegIniFile |
説明
キー(Section)に関連付けられている指定のデータ値(Ident)から整数値を取り出します。
ReadInteger メソッドを呼び出すと,キーに関連付けられている指定のデータ値から整数値を取り出すことができます。
Section はデータ値が取り出されるキーを識別する文字列です。Ident は返されるデータ値の名前を識別する文字列です。Default は,Section に対応するキーまたは Ident. に対応するデータ値がない場合に使用される整数値です。
メモ: このメソッドは,TRegIniFile オブジェクトが派生している TRegistry オブジェクトの ReadInteger メソッドをオーバーライドします。このメソッドのかわりに TRegistry オブジェクトの ReadInteger メソッドを呼び出すには,ReadInteger メソッドの呼び出し時に明示的に TRegistry 型を指定します。