## XPathNavigator::MoveToParent method


在派生类中被重写时，将 [XPathNavigator](../) 移动到当前节点的父节点。

```cpp
virtual bool System::Xml::XPath::XPathNavigator::MoveToParent()=0
```


### ReturnValue

**true** if the [XPathNavigator](../) is successful moving to the parent node of the current node; otherwise, **false**. If **false**, the position of the [XPathNavigator](../) is unchanged.

## 另见

* Class [XPathNavigator](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.Font for C++](../../../)
