Xml.XMLIntf.IXMLDocument.LoadFromFile
Delphi
procedure LoadFromFile(const AFileName: DOMString);
C++
virtual void __fastcall LoadFromFile(const System::UnicodeString AFileName) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Xml.XMLIntf.pas Xml.XMLIntf.hpp |
Xml.XMLIntf | IXMLDocument |
Description
Loads an XML document from disk.
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.