Partilhar 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