## XPathNavigator::Compile method


Compila una stringa che rappresenta un'espressione [XPath](../../) e restituisce un oggetto [XPathExpression](../../xpathexpression/).

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| xpath | String | Una stringa che rappresenta un'espressione [XPath](../../). |

### ReturnValue

Un oggetto [XPathExpression](../../xpathexpression/) che rappresenta l'espressione [XPath](../../).

## Vedi anche

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