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
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