System.Web.UI.WebControls.TemplateField.CreateField Method

Creates a new System.Web.UI.WebControls.TemplateField object.

Syntax

protected override DataControlField CreateField ()

Returns

Always returns a new System.Web.UI.WebControls.TemplateField.

Remarks

The TemplateField.CreateField method overrides the base method to return a System.Web.UI.WebControls.TemplateField object.

Requirements

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