## XPathExpression::Clone method


When overridden in a derived class, returns a clone of this [XPathExpression](../).

```cpp
virtual SharedPtr<XPathExpression> System::Xml::XPath::XPathExpression::Clone()=0
```


### ReturnValue

A new [XPathExpression](../) object.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XPathExpression](../)
* Class [XPathExpression](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.PDF for C++](../../../)
