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 (Ident) associated with a key (Section).
Call ReadInteger to retrieve an integer value from a specified data value associated with a key.
Section is a string that identifies the key from which to retrieve a data value. Ident is a string that identifies the name of the data value to return. Default is an integer value to use if there is no key corresponding to Section or no data value corresponding to Ident.
Note: This function overrides the ReadInteger function of TRegistry, from which TRegIniFile is derived. To call the ReadInteger function of TRegistry instead of this function, cast the call to ReadInteger as TRegistry.