Export (0) Print
Expand All

firstChild method

Retrieves a reference to the first child of the current node of the filtered TreeWalker hierarchy and updates IDOMTreeWalker::currentNode.

Document Object Model (DOM) Level 2 Traversal and Range Specification, Section 1.2Internet Explorer 9

 

Syntax


HRESULT retVal = object.firstChild(oNode);

Parameters

oNode [out, retval]

Type: Node

Object that receives the first child node in the filtered TreeWalker hierarchy.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

Remarks

IDOMTreeWalker::firstChild sets the IDOMTreeWalker::currentNode to the returned node.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft