XPathNavigator.MoveToPrevious Method

Definition

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

public:
 abstract bool MoveToPrevious();
public abstract bool MoveToPrevious ();
abstract member MoveToPrevious : unit -> bool
Public MustOverride Function MoveToPrevious () As Boolean

Returns

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

Applies to

See also