Sign in Join
FPDoc Onlineexperiment

TXMLConfig.Filename property

Member of TXMLConfigpublishedIn unit Laz2_XMLCfg

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

Declaration

pascal
property Filename: string read FFilename write SetFilename;

Description

Filename is a String property which specifies the file name on the local file system where the content for the XML configuration file is stored. Changing the value in Filename causes the DOM node cache to be cleared by calling the InvalidatePathCache method.

If Document contains a valid TXMLDocument instance, the Flush method is called to write any pending changes to disk. The FreeDoc method is called to re-initialize the Document instance. The XML content in Document is then reloaded using the file or string content as required.

No actions are performed in the method when the value in Filename is assigned as the component is loaded using the LCL streaming mechanism.

See also

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