API: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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegIniFile |
Description
Retrieves an integer value from a specified data value associated with the current key.
System.Win.Registry.TRegIniFile.ReadInteger inherits from System.Win.Registry.TRegistry.ReadInteger. All content below this line refers to System.Win.Registry.TRegistry.ReadInteger.
Retrieves an integer value from a specified data value associated with the current key.
Call ReadInteger to read an integer value from a specified data value associated with the current key. Name is the name of the data value to read.
If the Registry entry does not contain an integer, an exception is raised.