ServiceModelExtensionElement.CopyFrom(ServiceModelExtensionElement) 方法

定义

将指定配置元素的内容复制到此配置元素。

public:
 virtual void CopyFrom(System::ServiceModel::Configuration::ServiceModelExtensionElement ^ from);
public virtual void CopyFrom (System.ServiceModel.Configuration.ServiceModelExtensionElement from);
abstract member CopyFrom : System.ServiceModel.Configuration.ServiceModelExtensionElement -> unit
override this.CopyFrom : System.ServiceModel.Configuration.ServiceModelExtensionElement -> unit
Public Overridable Sub CopyFrom (from As ServiceModelExtensionElement)

参数

from
ServiceModelExtensionElement

要复制的配置元素。

例外

fromnull

配置文件是只读的。

适用于