SPUserStorageCollection.CopyTo method

Copies the elements of the collection to an array of user-storage objects, starting at the specified array index.

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

Syntax

'Declaration
Public Sub CopyTo ( _
    userStorageArray As SPUserStorage(), _
    index As Integer _
)
'Usage
Dim instance As SPUserStorageCollection
Dim userStorageArray As SPUserStorage()
Dim index As Integer

instance.CopyTo(userStorageArray, index)
public void CopyTo(
    SPUserStorage[] userStorageArray,
    int index
)

Parameters

  • userStorageArray
    Type: []

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

  • index
    Type: System.Int32

    The index in the array at which copying begins.

See also

Reference

SPUserStorageCollection class

SPUserStorageCollection members

Microsoft.SharePoint namespace