System.Win.Registry.TRegistry.WriteFloat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WriteFloat(const Name: string; Value: Double);

C++

void __fastcall WriteFloat(const System::UnicodeString Name, double Value);

Properties

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

Description

Stores a Double value in a specifically named data value associated with the current key.

Call WriteFloat to store a float value in a data value associated with the current key.

Name is a string containing the name of the data value in which to store data. If Name already exists, its current value is overwritten by WriteFloat. If Name does not exist, it is created.

Value is a float value to store in the registry.

If WriteFloat fails, an exception is raised, and the value is not written to the registry.

See Also