Gets the root XmlElement for the document.
[Visual Basic] Public ReadOnly Property DocumentElement As XmlElement [C#] public XmlElement DocumentElement {get;} [C++] public: __property XmlElement* get_DocumentElement(); [JScript] public function get DocumentElement() : XmlElement;
The XmlElement object that represents the single element that represents the root of the XML document tree. It returns null if no root exists.
XmlDocument Class | XmlDocument Members | System.NewXml Namespace