System::Xml::XPath::XPathNavigator::MoveTo 方法

XPathNavigator::MoveTo method

当在派生类中被重写时,将 XPathNavigator 移动到与指定的 XPathNavigator 相同的位置。

virtual bool System::Xml::XPath::XPathNavigator::MoveTo(SharedPtr<XPathNavigator> other)=0
参数类型描述
otherSharedPtr<XPathNavigator>在您想要移动到的节点上定位的 XPathNavigator

ReturnValue

true if the XPathNavigator is successful moving to the same position as the specified XPathNavigator; otherwise, false. If false, the position of the XPathNavigator is unchanged.

另见