Sign in Join
FPDoc Onlineexperiment

TXMLConfig.FreeDoc procedure

Member of TXMLConfigprotectedIn unit Laz2_XMLCfg

Frees the TXMLDocument instance for the XML configuration file.

Declaration

pascal
procedure 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

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