TXMLConfig.Flush procedure
Forces the XML content for the configuration file to be written to Filename.
Declaration
procedure FlushDescription
Flush is a procedure which forces the XML content in
Document to be written to the file specified in
Filename. Flush uses the value in the
Modified property
to determine if the content in Document has been altered.
Flush calls the WriteXMLFile method to store Document to the
required Filename. The value in Modified is set to False when the Document
has been written to the local file system.
No actions are performed in the method when
Modified is False, or
when Filename contains an empty string ('').
Flush is used in the implementation of methods like Destroy and
SetFilename.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
