Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OwnerDocument Property

XmlDocument.OwnerDocument Property

Gets the XmlDocument to which the current node belongs.

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

Property Value

For XmlDocument nodes (NodeType equals XmlNodeType.Document), this property always returns a null reference (Nothing in Visual Basic).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

XmlDocument Class | XmlDocument Members | System.Xml Namespace

Show:
© 2015 Microsoft