Share via


SPExportObjectCollection.CopyTo method

Copies an export object into the export object array.

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

Syntax

'Declaration
Public Sub CopyTo ( _
    exportObjArray As SPExportObject(), _
    index As Integer _
)
'Usage
Dim instance As SPExportObjectCollection
Dim exportObjArray As SPExportObject()
Dim index As Integer

instance.CopyTo(exportObjArray, index)
public void CopyTo(
    SPExportObject[] exportObjArray,
    int index
)

Parameters

  • exportObjArray
    Type: []

    Array of export objects in the collection.

  • index
    Type: System.Int32

    Integer representing the index at which a given export object is placed in the array.

See also

Reference

SPExportObjectCollection class

SPExportObjectCollection members

Microsoft.SharePoint.Deployment namespace