Export (0) Print
Expand All

DataControlField.CreateField Method

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

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

'Declaration
Protected MustOverride Function CreateField As DataControlField

Return Value

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

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft