## XPathNavigator::MoveTo method


När den åsidosätts i en avledd klass, flyttar den [XPathNavigator](../) till samma position som den angivna [XPathNavigator](../).

```cpp
virtual bool System::Xml::XPath::XPathNavigator::MoveTo(SharedPtr<XPathNavigator> other)=0
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| other | SharedPtr\<XPathNavigator\> | [XPathNavigator](../) placerad på den nod du vill flytta till. |

### 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.

## Se även

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XPathNavigator](../)
* Class [XPathNavigator](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.PDF for C++](../../../)
