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)
Available in Sandboxed Solutions: No

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