## XPathNavigator::IsDescendant method


确定指定的 [XPathNavigator](../) 是否是当前 [XPathNavigator](../) 的后代。

```cpp
virtual bool System::Xml::XPath::XPathNavigator::IsDescendant(SharedPtr<XPathNavigator> nav)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| nav | SharedPtr\<XPathNavigator\> | 用于与此 [XPathNavigator](../) 进行比较的 [XPathNavigator](../)。 |

### ReturnValue

**true** if the specified [XPathNavigator](../) is a descendant of the current [XPathNavigator](../); otherwise, **false**.

## 另见

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