DataPagerField.CloneField Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.