NodeOwnerDocument Property

The read-only ownerDocument property of the Node interface returns the top-level document object of the node.

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.1
Syntax
public virtual Document OwnerDocument { get; }

Property Value

Type: Document

A Document that is the top-level object in which all the child nodes are created.

If this property is used on a node that is itself a document, the value is null.

Return Value

Type: Document
Remarks

Reference:

See Also