RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegistry.ReadInteger Method

Retrieves an integer value from a specified data value associated with the current key.

Pascal
function ReadInteger(const Name: string): Integer;
C++
__fastcall int ReadInteger(const AnsiString Name);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!