ImageField.CreateField Method

Returns a new instance of the ImageField class.

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

protected override DataControlField CreateField()

Return Value

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

The CreateField method is called by the CloneField method to create a new instance of the ImageField class.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft