System.Web.UI.WebControls.DataControlField.CloneField Method

Creates a duplicate copy of the current System.Web.UI.WebControls.DataControlField-derived object.

Syntax

protected DataControlField CloneField ()

Returns

A duplicate copy of the current System.Web.UI.WebControls.DataControlField.

Remarks

The DataControlField.CloneField method is a helper method used by the DataControlFieldCollection.CloneFields method to create a copy of the current System.Web.UI.WebControls.DataControlField-derived object.

Requirements

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