Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ownerDocument property

Retrieves the document object associated with the node.


HRESULT value = object.get_ownerDocument(** p);

Property values

Type: Object

the document object.

Standards information


The IHTMLDOMNode2::ownerDocument is the document object that is used to create new nodes.

This property returns NULL when the node is a document.

IHTMLDOMNode2::ownerDocument was introduced in Microsoft Internet Explorer 6.



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.