Open main menu

RAD Studio API Documentation β

Xml.XMLDoc.TXMLDocument.Destroy

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TXMLDocument();

Properties

Type Visibility Source Unit Parent
destructor public
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLDocument

Description

Disposes of a TXMLDocument object.

It is not necessary to explicitly free a TXMLDocument component. If the component is created with an Owner, that Owner handles the task of freeing the document. If the component is created without an Owner, it is freed automatically when the reference count on its IXMLDocument interface drops to zero.

See Also