Share via


XmlElement.OwnerDocument Property

Definition

Returns the root of the document that contains the node.

public:
 property XmlDocument ^ OwnerDocument { XmlDocument ^ get(); };
XmlDocument OwnerDocument();
public XmlDocument OwnerDocument { get; }
var xmlDocument = xmlElement.ownerDocument;
Public ReadOnly Property OwnerDocument As XmlDocument

Property Value

The parent document that represents the root of the document.

Implements

Applies to