## XPathNavigator::Compile method


Mengompilasi string yang mewakili ekspresi [XPath](../../) dan mengembalikan objek [XPathExpression](../../xpathexpression/).

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


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| xpath | String | Sebuah string yang mewakili ekspresi [XPath](../../). |

### ReturnValue

Sebuah objek [XPathExpression](../../xpathexpression/) yang mewakili ekspresi [XPath](../../).

## Lihat Juga

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