Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 IHTMLDOMAttribute2::ownerDocument is the document object that is used to create new nodes.

This property returns NULL when the node is a document.

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



Community Additions

© 2015 Microsoft