System.Win.Registry.TRegIniFile.WriteString
Delphi
procedure WriteString(const Section, Ident, Value: string);
C++
HIDESBASE void __fastcall WriteString(const System::UnicodeString Section, const System::UnicodeString Ident, const System::UnicodeString Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegIniFile |
Description
Writes a string value to a specified data value associated with a specified key.
Call WriteString to store a string value in a data value associated with a specified key.
Section is a string identifying the key into which to store a data value. Ident is a string identifying the name of the data value into which to write. Value is the string value to write into the data value.
Note: This function overrides the WriteString procedure of TRegistry, from which TRegIniFile is derived. To call the WriteString procedure of TRegistry instead of this procedure, cast the call to WriteString as TRegistry.