## XPathNavigator::IsDescendant method


Determines whether the specified [XPathNavigator](../) is a descendant of the current [XPathNavigator](../).

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


| Parameter | Type | Description |
| --- | --- | --- |
| nav | SharedPtr\<XPathNavigator\> | The [XPathNavigator](../) to compare to this [XPathNavigator](../). |

### ReturnValue

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

## See Also

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