ownerDocument property

[This documentation is preliminary and is subject to change.]

Retrieves the document object associated with the node.

Syntax

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

Property values

Type: Object

the document object.

Standards information

Remarks

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.

 

 

Build date: 6/12/2012

Community Additions

Show: