Show: Delphi C++
Display Preferences

System.Win.Registry.TRegistry.ReadString

From XE2 API Documentation
Jump to: navigation, search

Delphi

function ReadString(const Name: string): string;

C++

System::UnicodeString __fastcall ReadString(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 a string value from a specified data value associated with the current key.

Call ReadString to read a string value from a specified data value associated with the current key. Name is the name of the data value to read.

If there is no Registry entry with the specified name, ReadString returns an empty string. If the Registry entry contains something other than a string, an exception is raised.

Note: ReadString retrieves data stored by either the WriteString or WriteExpandString method.

See Also

Personal tools
Previous Versions
Translations