System.Web.UI.WebControls.ImageField.CreateField Method

Returns a new instance of the System.Web.UI.WebControls.ImageField class.

Syntax

protected override DataControlField CreateField ()

Returns

A new instance of the System.Web.UI.WebControls.ImageField class.

Remarks

The ImageField.CreateField method is called by the DataControlField.CloneField method to create a new instance of the System.Web.UI.WebControls.ImageField class.

Requirements

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