## Node.OwnerDocument property

Returns the top-level document object of the node.

```csharp
public virtual Document OwnerDocument { get; }
```

### Property Value

A [`Document`](../../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](https://dom.spec.whatwg.org/#dom-node-ownerdocument).

### See Also

* class [Document](../../document/)
* class [Node](../)
* namespace [Aspose.Html.Dom](../../../aspose.html.dom/)
* assembly [Aspose.HTML](../../../)
