Gets the document element, if any.
Valuean System.Xml.XmlElement object that represents the document element, or null if it does not exist yet.
RemarksIt represents the document element (root element) of this document. A well-formed XML document must have exactly one element, but this property could be null.
This property is an equivalent of "documentElement" attribute of Document interface in W3C Document Object Model Core specification.
RequirementsNamespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0