XPathExpression.Clone 方法

定义

当在派生类中重写时,获取此 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

返回

一个新 XPathExpression 对象。

注解

在派生类中重写时, Clone 该方法返回此 XPathExpression 对象的克隆,其状态与该 XPathExpression 对象相同。

适用于