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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)> _
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)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)]
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