TXMLConfig.Filename property
File name used to read or write the XML content in the class instance.
Declaration
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.
