SPUserResourceCollection.CopyTo method

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

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

Syntax

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

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

Parameters

  • array
    Type: []

    The array to which to copy the collection.

  • index
    Type: System.Int32

    The array index at which to start copying the collection.

See also

Reference

SPUserResourceCollection class

SPUserResourceCollection members

Microsoft.SharePoint namespace