nextNode method

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

Returns the next node in the NodeIterator or TreeWalker list and updates currentNode.

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

Syntax

HRESULT retVal = object.nextNode();

Standards information

Parameters

  • ppRetNode [out, retval]
    Type: IDispatch

    The type IDispatch interface that receives the the next node in the list.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK

The operation completed successfully.

W3CException_DOM_INVALID_STATE_ERR

NodeIterator raises this exception if detach has been invoked on the object.

 

 

 

Build date: 1/26/2012