System::Xml::XPath::XPathNavigator::MoveToPrevious method

XPathNavigator::MoveToPrevious method

当在派生类中重写时,将 XPathNavigator 移动到当前节点的前一个兄弟节点。

virtual bool System::Xml::XPath::XPathNavigator::MoveToPrevious()=0

ReturnValue

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.

另见