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
array
Type: []A zero-based array of SPCopyDestination objects that is the destination of the elements copied from SPCopyDestinationCollection.
index
Type: System.Int32A 32-bit integer that specifies the index at which copying begins.
See also
Reference
SPCopyDestinationCollection class