DataControlField.CreateField Method

Definition

When overridden in a derived class, creates an empty DataControlField-derived object.

protected:
 abstract System::Web::UI::WebControls::DataControlField ^ CreateField();
protected abstract System.Web.UI.WebControls.DataControlField CreateField ();
abstract member CreateField : unit -> System.Web.UI.WebControls.DataControlField
Protected MustOverride Function CreateField () As DataControlField

Returns

An empty DataControlField-derived object.

Remarks

The CreateField method is a helper method used by the CloneField method to create an empty DataControlField-derived object to copy the properties of the current DataControlField-derived object into.

Applies to

See also