SPBaseCollection.ICollection.CopyTo method

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

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

Syntax

void ICollection.CopyTo(
    Array array,
    int index
)

Parameters

  • array
    Type: System.Array

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

  • index
    Type: System.Int32

    The index in the array at which copying begins.

Implements

ICollection.CopyTo(Array, Int32)

See also

Reference

SPBaseCollection class

SPBaseCollection members

Microsoft.SharePoint namespace