Sign in Join
FPDoc Onlineexperiment

TIniFile.WriteString procedure

Member of TIniFilepublicIn unit IniFiles

Write string to file.

Declaration

pascal
procedure WriteString(const Section: string; const Ident: string; 
 const Value: string); override

Arguments

Section

Section to write key value in.

Ident

Key name to use.

Value

String value to write.

Description

WriteString implements the WriteString abstract method by writing the string to the in-memory copy of the ini file. If CacheUpdates property is False, then the whole file is immediately written to disk as well.

Errors

If an error happens when the file is written to disk, an exception will be raised.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.