## XPathNavigator::Compile method


Compile une chaîne représentant une expression [XPath](../../) et retourne un objet [XPathExpression](../../xpathexpression/).

```cpp
virtual SharedPtr<XPathExpression> System::Xml::XPath::XPathNavigator::Compile(String xpath)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| xpath | String | Une chaîne représentant une expression [XPath](../../). |

### ReturnValue

Un objet [XPathExpression](../../xpathexpression/) représentant l'expression [XPath](../../).

## Voir aussi

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