System.Win.Registry.TRegistry.ReadInteger

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ReadInteger(const Name: string): Integer;

C++

int __fastcall ReadInteger(const System::UnicodeString Name);

Properties

Type Visibility Source Unit Parent
function public
System.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegistry

Description

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.

See Also