[Overview][Classes][Procedures and functions][Index] Reference for unit 'Laz2_XMLCfg' (#lazutils)

TXMLConfig.CreateClean

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

Declaration

Source position: laz2_xmlcfg.pas line 101

public constructor TXMLConfig.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

TXMLConfig.Create

  

Constructor for the class instance.

TXMLConfig.Filename

  

File name used to read or write the XML content in the class instance.

TXMLConfig.Modified

  

Indicates if the XML content in the class has been modified.


Version 4.0 Generated 2025-05-03 Home