XPathNavigator.MoveToPrevious 方法
定义
当在派生类中被重写时,将 XPathNavigator 移动到当前节点的上一个同级节点。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
返回
如果 XPathNavigator 成功地移动到上一个同级节点,则为 true;如果没有上一个同级节点,或者如果 XPathNavigator 当前定位在某个属性节点上,则为 false。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. 如果为 false,则 XPathNavigator 的位置不变。If false, the position of the XPathNavigator is unchanged.