System.Win.Registry.TRegistry.WriteCurrency
Delphi
procedure WriteCurrency(const Name: string; Value: Currency);
C++
void __fastcall WriteCurrency(const System::UnicodeString Name, System::Currency 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 currency value in a specifically named data value associated with the current key.
Call WriteCurrency to store a Currency 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 WriteCurrency. If Name does not exist, it is created.
Value is a Currency value to store in the registry.
If WriteCurrency fails, an exception is raised, and the value is not written to the registry.