OwnerDocument

Node.OwnerDocument property

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

public virtual Document OwnerDocument { get; }

Property Value

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.

Remarks

Reference:

DOM Standard - defines a platform-neutral model for events, aborting activities, and node trees.DOM Standard (DOM) # dom-node-ownerdocument.GitHub - repository hosts the DOM Standard.

See Also