Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

previousNode method

Returns the previous node in the NodeIterator or TreeWalker list and updates IDOMTreeWalker::currentNode.

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

 

Syntax


HRESULT retVal = object.previousNode(oNode);

Parameters

oNode [out, retval]

Type: Node

 Object containing the previous node in the list.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
S_OK

The operation completed successfully.

InvalidStateError _ERR

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

 

Standards information

 

 

Community Additions

ADD
Show:
© 2015 Microsoft