Sign in Join
FPDoc Onlineexperiment

TXMLConfig.CreateClean constructor

Member of TXMLConfigpublicIn unit Laz2_XMLCfg

Alternate constructor used to create the class without reading existing XML content in the specified file.

Declaration

pascal
constructor CreateClean(const AFilename: string)

Arguments

AFilename

File name where XML content will be stored.

Description

CreateClean is an alternate constructor for the class instance. CreateClean sets an internal flag to indicate that the XML content in AFilename is not automatically loaded when the value in the Filename property is assigned. This ensures that the class instance is "clean" (has no XML content).

CreateClean calls an overloaded variant of Create using AFilename as an argument. The value in Modified is set to True if the specified file exists in the cache for the local file system.

See also

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