DataControlField.CreateField Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

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
Available since 2.0
Return to top
Show: