This documentation is archived and is not being maintained.

DataPagerFieldCollection::CopyTo Method (array<DataPagerField>, Int32)

Copies the complete DataPagerFieldCollection collection to a one-dimensional Array object, starting at the specified index of the target array.

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

public:
void CopyTo(
	array<DataPagerField^>^ array, 
	int index
)

Parameters

array
Type: array<System.Web.UI.WebControls::DataPagerField>

The one-dimensional array that is the destination of the elements copied from DataPagerFieldCollection collection. The array object must use zero-based indexing.

index
Type: System::Int32

The zero-based index in array at which copying starts.

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: