This topic has not yet been rated - Rate this topic

nextSibling method

Retrieves the next sibling of the current node in 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.nextSibling(oNode);

Parameters

oNode [out, retval]

Type: Node

Object that receives the next child of a parent 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::nextSibling sets the IDOMTreeWalker::currentNode to the returned node. It returns NULL if there are no more child nodes.

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.