Edit

Share via


DataPagerField.CloneField Method

Definition

Creates a copy of the current object that is derived from DataPagerField.

protected public:
 System::Web::UI::WebControls::DataPagerField ^ CloneField();
protected internal System.Web.UI.WebControls.DataPagerField CloneField ();
member this.CloneField : unit -> System.Web.UI.WebControls.DataPagerField
Protected Friend Function CloneField () As DataPagerField

Returns

A copy of the current DataControlField object.

Remarks

The CloneField method is a helper method that is used by the CloneFields method to create a copy of the current object that is derived from DataPagerField. To create a copy of the current object, the CloneField method first creates a new instance of a DataPagerField object by using the CreateField method. Then it calls the CopyProperties method to copy the property values of the current object.

Applies to

See also