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


Geçerli düğümün belirtilen [XPathExpression](../../xpathexpression/) ile eşleşip eşleşmediğini belirler.

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| expr | SharedPtr\<XPathExpression\> | Derlenmiş [XPath](../../) ifadesini içeren bir [XPathExpression](../../xpathexpression/) nesnesi. |

### ReturnValue

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

## Ayrıca Bakınız

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


Geçerli düğümün belirtilen [XPath](../../) ifadesiyle eşleşip eşleşmediğini belirler.

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


| Parameter | Type | Açıklama |
| --- | --- | --- |
| xpath | String | Bu [XPath](../../) ifadesi. |

### ReturnValue

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

## Ayrıca Bakınız

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