RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegIniFile.WriteString Method

Writes a string value to a specified data value associated with a specified key.

Pascal
procedure WriteString(const Section: String; const Ident: String; const Value: String);
C++
__fastcall WriteString(const AnsiString Section, const AnsiString Ident, const AnsiString Value);

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.
 

 

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