CopyTo Method

The CopyTo method of the SPWebPartCollection class copies the elements of the collection to an array of Web Part objects, starting at the specified array index.

Parameters

array   The array that is the destination of the elements copied from the collection. The array must have zero-based indexing.

index   The index in the array at which copying begins.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security