Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the next node in the NodeIterator or TreeWalker list and updates IDOMTreeWalker::currentNode.
![]() ![]() |
Syntax
HRESULT retVal = object.nextNode(oNode);
Parameters
oNode [out, retval]
Type: NodeObject containing 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. |
| InvalidStateError _ERR | NodeIterator raises this exception if IDOMNodeIterator::detach has been invoked on the object. |
Standards information
Remarks
This example shows how to create a NodeIterator and move forward through the list of nodes.
.png)
.png)