Edit

Share via


ServiceModelExtensionElement.CopyFrom(ServiceModelExtensionElement) Method

Definition

Copies the content of the specified configuration element to this configuration element.

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)

Parameters

from
ServiceModelExtensionElement

The configuration element to be copied.

Exceptions

from is null.

The configuration file is read-only.

Applies to