DataPagerField.CloneField Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

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

protected internal DataPagerField CloneField()

Return Value

Type: System.Web.UI.WebControls.DataPagerField

A copy of the current DataControlField object.

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.

.NET Framework
Available since 3.5
Return to top
Show: