RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLDocument.SaveToFile Method

Saves the XML document to disk.

Pascal
procedure SaveToFile(const AFileName: DOMString);
C++
__fastcall SaveToFile(const DOMString AFileName);

Call SaveToFile to save any modifications you have made to the parsed XML document. 

AFileName is the name of the file to save.

Tip: To save the modifications back to the file from which the document was originally read, use the value of the FileName property for the AFileName parameter.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!