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

TXMLConfig.FreeDoc

Frees the TXMLDocument instance for the XML configuration file.

Declaration

Source position: laz2_xmlcfg.pas line 88

protected procedure TXMLConfig.FreeDoc; virtual;

Description

FreeDoc is a procedure used to free the TXMLDocument instance used in the Document property. FreeDoc calls InvalidatePathCache to remove all cached DOM nodes from the Document. FreeAndNil is used to free the object instance and to set the value for the member to Nil.

FreeDoc is used in the implementation of various methods like Destroy, Clear, ReadFromStream, and SetFilename.

See also

TXMLConfig.Document

  

XML document used for the class instance.

TXMLConfig.Destroy

  

Destructor for the class instance.

TXMLConfig.Clear

  

Removes existing XML content in the Document property.

TXMLConfig.ReadFromStream

  

Reads the XML content in Document from the specified stream instance.

TXMLConfig.Filename

  

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

TXMLConfig.InvalidatePathCache

  

Removes cached DOM nodes for paths in the XML configuration file.


Version 4.0 Generated 2025-05-03 Home