XmlWriterSettings.Clone 方法

定义

创建 XmlWriterSettings 实例的副本。

public:
 System::Xml::XmlWriterSettings ^ Clone();
public System.Xml.XmlWriterSettings Clone ();
member this.Clone : unit -> System.Xml.XmlWriterSettings
Public Function Clone () As XmlWriterSettings

返回

XmlWriterSettings

克隆的 XmlWriterSettings 对象。

注解

可以修改克隆 XmlWriterSettings 的对象,而不会影响原始对象的设置。

适用于