Share via


SPImportObjectCollection.CopyTo method

Copies the elements of an array of SPImportObject objects, starting at the specified array index.

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

Syntax

'Declaration
Public Sub CopyTo ( _
    importObjArray As SPImportObject(), _
    index As Integer _
)
'Usage
Dim instance As SPImportObjectCollection
Dim importObjArray As SPImportObject()
Dim index As Integer

instance.CopyTo(importObjArray, index)
public void CopyTo(
    SPImportObject[] importObjArray,
    int index
)

Parameters

  • importObjArray
    Type: []

    The array of SPImportObject objects to which the collection is copied.

  • index
    Type: System.Int32

    A 32-bit integer that specifies the array index at which to start copying the collection.

See also

Reference

SPImportObjectCollection class

SPImportObjectCollection members

Microsoft.SharePoint.Deployment namespace