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
public override XmlDocument OwnerDocument {get;}
public: __property XmlDocument* get_OwnerDocument();
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).


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

© 2015 Microsoft