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

When overridden in a derived class, moves the XPathObjectNavigator to the previous sibling node of the current node.

Namespace: Tools.XmlT.XPathT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public override bool MoveToPrevious()
Visual Basic
Public Overrides Function MoveToPrevious As Boolean
Visual C++
public:
virtual bool MoveToPrevious() override
F#
abstract MoveToPrevious : unit -> bool 
override MoveToPrevious : unit -> bool 
JScript
public override function MoveToPrevious() : boolean

Return Value

Returns true if the XPathObjectNavigator is successful moving to the previous sibling node; otherwise, false if there is no previous sibling node or if the XPathObjectNavigator is currently positioned on an attribute node. If false, the position of the XPathObjectNavigator is unchanged.

Remarks

This is valid for XPathObjectNavigator..::..PropertyStep and XPathObjectNavigator..::..EnumerableStep. For XPathObjectNavigator..::..PropertyStep moves to previous usable property (if any) using GetFirstProperty(Object, PropertyInfo, Boolean). For XPathObjectNavigator..::..EnumerableStep re-iterates IEnumerator to position less by 1 than actual position (if actual position is greater than zero; see Index). If it is zero that last property of current object become surrent step (if there is any usable property).

See Also