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!

XmlNode.OwnerDocument

Gets the XmlDocument that contains this node.

[Visual Basic]
Overridable Public ReadOnly Property OwnerDocument As XmlDocument
[C#]
public XmlDocument OwnerDocument {virtual get;}
[C++]
public: __property virtual XmlDocument* get_OwnerDocument();
[JScript]
public function get OwnerDocument() : XmlDocument;

Property Value

An XmlDocument.

If the node is an XmlDocument (NodeType equals XmlNodeType.Document), this property is null.

Remarks

When adding nodes to the current node, use the XmlDocument returned by the OwnerDocument property to create the node.

See Also

XmlNode Class | XmlNode Members | System.NewXml Namespace