Share via


SPUserCustomActionCollection.ICollection.CopyTo method

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

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

Syntax

'Declaration
Private Sub CopyTo ( _
    array As Array, _
    index As Integer _
) Implements ICollection.CopyTo
'Usage
Dim instance As SPUserCustomActionCollection
Dim array As Array
Dim index As Integer

CType(instance, ICollection).CopyTo(array, _
    index)
void ICollection.CopyTo(
    Array array,
    int index
)

Parameters

  • array
    Type: System.Array

    The one-dimensional array 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.

Implements

ICollection.CopyTo(Array, Int32)

See also

Reference

SPUserCustomActionCollection class

SPUserCustomActionCollection members

Microsoft.SharePoint namespace