NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlDocument.DocumentElement

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;

Property Value

The XmlElement object that represents the single element that represents the root of the XML document tree. It returns null if no root exists.

See Also

XmlDocument Class | XmlDocument Members | System.NewXml Namespace