XPathExpression.Clone Method

Definition

When overridden in a derived class, returns a clone of this XPathExpression.

public:
 abstract System::Xml::XPath::XPathExpression ^ Clone();
public abstract System.Xml.XPath.XPathExpression Clone ();
abstract member Clone : unit -> System.Xml.XPath.XPathExpression
Public MustOverride Function Clone () As XPathExpression

Returns

A new XPathExpression object.

Remarks

When overridden in a derived class, the Clone method returns a clone of this XPathExpression object with the same state as this XPathExpression object.

Applies to