RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLDocument.LoadFromFile Method

Loads an XML document from disk.

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

Call LoadFromFile to load the XML document specified by AFileName so that you can examine or modify it. 

AFileName is the name of the file to load. 

Once you have loaded an XML document, any changes you make to the document are not saved back to disk until you call the SaveToFile method. 

 

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