The IDLffXMLDOMNodeIterator::PreviousNode function method creates an object that is a subclass of IDLffXMLDOMNode and returns the object reference to that object. The object refers to the node in the DOM tree that appears before the iterator’s current position in document-order traversal. The iterator's current position is then updated to the position immediately before the node returned by this method.

This method destroys the object returned by the most recent previous invocation of IDLffXMLDOMNodeIterator::NextNode or IDLffXMLDOMNodeIterator::PreviousNode.

Syntax


Result = Obj->[IDLffXMLDOMNodeIterator::]PreviousNode()

Return Value


Returns the object reference to the object that refers to the previous node in the DOM tree.

If the iterator is positioned before the iterator's root node, this method returns a null object reference, and the iterator's position does not change. This is the situation immediately after an iterator’s creation.

Arguments


None

Keywords


None

Version History


6.2

Introduced