## XPathNavigator::Matches(SharedPtr\<XPathExpression\>) method


Bepaalt of het huidige knooppunt overeenkomt met de opgegeven [XPathExpression](../../xpathexpression/).

```cpp
virtual bool System::Xml::XPath::XPathNavigator::Matches(SharedPtr<XPathExpression> expr)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| expr | SharedPtr\<XPathExpression\> | Een [XPathExpression](../../xpathexpression/) object dat de gecompileerde [XPath](../../) expressie bevat. |

### ReturnValue

**true** if the current node matches the [XPathExpression](../../xpathexpression/); otherwise, **false**.

## Zie ook

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


Bepaalt of het huidige knooppunt overeenkomt met de opgegeven [XPath](../../) expressie.

```cpp
virtual bool System::Xml::XPath::XPathNavigator::Matches(String xpath)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| xpath | String | De [XPath](../../) expressie. |

### ReturnValue

**true** if the current node matches the specified [XPath](../../) expression; otherwise, **false**.

## Zie ook

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