System.Web.UI.WebControls.DataControlField.CreateField Method

When overridden in a derived class, creates an empty System.Web.UI.WebControls.DataControlField-derived object.

Syntax

protected abstract DataControlField CreateField ()

Returns

An empty System.Web.UI.WebControls.DataControlField-derived object.

Remarks

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

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0