Xml.XMLIntf.IXMLDocument.Active
Delphi
property Active: Boolean read GetActive write SetActive;
C++
__property bool Active = {read=GetActive, write=SetActive};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Xml.XMLIntf.pas Xml.XMLIntf.hpp |
Xml.XMLIntf | IXMLDocument |
Description
Specifies whether the XML document has been parsed so that the DOM interfaces are available to examine or change its contents.
Before you can use IXMLDocument to examine or change the contents of an XML document, it must be active. Setting Active to true results in the parsing of the XML document specified by the FileName property or by the XML property. If both FileName and XML are empty strings, Setting Active to true causes IXMLDocument to represent an empty document.
Active must be true before you can access the DOMDocument or DocumentElement properties.