Επεξεργασία

Κοινή χρήση μέσω


DynamicField.CreateField Method

Definition

Creates and returns a new instance of the DynamicField class.

protected:
 override System::Web::UI::WebControls::DataControlField ^ CreateField();
protected override System.Web.UI.WebControls.DataControlField CreateField ();
override this.CreateField : unit -> System.Web.UI.WebControls.DataControlField
Protected Overrides Function CreateField () As DataControlField

Returns

A new instance of the DynamicField class.

Remarks

The CreateField method is a helper method. It is used by the CloneField method to create an empty DynamicField object.

Notes to Inheritors

Override the CreateField() method to return a new instance of the derived class. Do not call the CreateField() method of the base class.

Applies to

See also