parentNode property

Retrieves the parent object in the document hierarchy.

Syntax

HRESULT value = object.get_parentNode(IHTMLDOMNode** p);

Property values

Type: Object

the parent node.

Standards information

Remarks

The topmost object returns NULL as its parent.

See also

About the W3C Document Object Model