This documentation is archived and is not being maintained.

DataPagerField::CloneField Method

This API supports the .NET Framework 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 public:
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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: