## XPathNavigator::Compile method


Compila una cadena que representa una expresión [XPath](../../) y devuelve un objeto [XPathExpression](../../xpathexpression/).

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| xpath | String | Una cadena que representa una expresión [XPath](../../). |

### ReturnValue

Un objeto [XPathExpression](../../xpathexpression/) que representa la expresión [XPath](../../).

## Ver también

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