System.Web.UI.WebControls.CommandField.CreateField Method

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

Syntax

protected override DataControlField CreateField ()

Returns

An empty System.Web.UI.WebControls.CommandField.

Remarks

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

Requirements

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