Contains the root element of the document.
Visual Basic Syntax
Set objXMLDOMElement = oXMLDOMDocument.documentElement
C/C++ Syntax
HRESULT get_documentElement(
IXMLDOMElement **DOMElement);
Parameters
DOMElement
[out]
IXMLDOMElement object that represents the single element that represents the root of the XML document tree. Returns NULL if no root exists.
C/C++ Return Values
S_OK
Value returned if successful.
S_FALSE
Value when returning null.
E_INVALIDARG
Value returned if DOMElement is null.