DynamicField.CopyProperties(DataControlField) Method

Definition

Copies the properties of the current DynamicField object to the specified DataControlField object.

protected:
 override void CopyProperties(System::Web::UI::WebControls::DataControlField ^ newField);
protected override void CopyProperties (System.Web.UI.WebControls.DataControlField newField);
override this.CopyProperties : System.Web.UI.WebControls.DataControlField -> unit
Protected Overrides Sub CopyProperties (newField As DataControlField)

Parameters

newField
DataControlField

The DataControlField to copy the properties of the current DynamicField to.

Remarks

The CopyProperties method is a helper method. It is used by the CloneField method to copy the properties of the current DynamicField object to the DynamicField object that is passed in the newField parameter.

Notes to Inheritors

Override the CopyProperties(DataControlField) method to copy the new properties that were created in the derived class. Call the base class's CopyProperties(DataControlField) method so that the properties of the DynamicField class are also copied.

Applies to

See also