## XPathNavigator::Compile method


Kompiliert eine Zeichenkette, die einen [XPath](../../) Ausdruck darstellt, und gibt ein [XPathExpression](../../xpathexpression/) Objekt zurück.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| xpath | String | Eine Zeichenkette, die einen [XPath](../../) Ausdruck darstellt. |

### ReturnValue

Ein [XPathExpression](../../xpathexpression/) Objekt, das den [XPath](../../) Ausdruck darstellt.

## Siehe auch

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