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)
Available in Sandboxed Solutions: No
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.Int32The zero-based index in the array at which copying begins.
See Also
Reference
SPSiteSubscriptionCollection Class