Share via


SPSiteSubscriptionCollection.CopyTo method

Copies the elements of the collection to an array of SPSiteSubscription objects , starting at the specified array index.

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

Syntax

'Declaration
Public Sub CopyTo ( _
    array As SPSiteSubscription(), _
    index As Integer _
)
'Usage
Dim instance As SPSiteSubscriptionCollection
Dim array As SPSiteSubscription()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    SPSiteSubscription[] array,
    int index
)

Parameters

  • array
    Type: []

    The one-dimensional array of SPSiteSubscription objects that is the destination of the elements copied from the collection. The array must have zero-based indexing.

  • index
    Type: System.Int32

    The zero-based index in the array at which copying begins.

See also

Reference

SPSiteSubscriptionCollection class

SPSiteSubscriptionCollection members

Microsoft.SharePoint namespace