System.Web.UI.WebControls.CheckBoxField.CreateField Method

Creates an empty System.Web.UI.WebControls.CheckBoxField object.

Syntax

protected override DataControlField CreateField ()

Returns

An empty System.Web.UI.WebControls.CheckBoxField.

Remarks

The CheckBoxField.CreateField method is a helper method used by the DataControlField.CloneField method to create an empty System.Web.UI.WebControls.CheckBoxField object to which the properties of the current System.Web.UI.WebControls.CheckBoxField object can be copied.

Requirements

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