Share via


SPCopyDestinationCollection.CopyTo method

Copies the elements of the copy destination collection to a one-dimensional array, starting at the specified index.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As SPCopyDestination(), _
    index As Integer _
)
'Usage
Dim instance As SPCopyDestinationCollection
Dim array As SPCopyDestination()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    SPCopyDestination[] array,
    int index
)

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index at which copying begins.

See also

Reference

SPCopyDestinationCollection class

SPCopyDestinationCollection members

Microsoft.SharePoint namespace