IHTMLDOMNode::childNodes Property

Gets a collection of HTML Elements and TextNode objects that are direct descendants of the specified object.

Syntax

HRESULT IHTMLDOMNode::get_childNodes(IDispatch **p);

Parameters

  • p
    Address of a pointer to a variable of type IDispatch interface that receives the collection of children.

Return Value

Returns S_OK if successful, or an error value otherwise.