System::Xml::XPath::XPathNavigator::MoveTo method

XPathNavigator::MoveTo method

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

virtual bool System::Xml::XPath::XPathNavigator::MoveTo(SharedPtr<XPathNavigator> other)=0
ParameterType描述
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.

另见