RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLDocument.Destroy Destructor

Disposes of a TXMLDocument object.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TXMLDocument();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!