Share via


SPCalendarViewStyleCollection.CopyTo method

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

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

Syntax

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

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

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the array index at which to start copying the collection.

See also

Reference

SPCalendarViewStyleCollection class

SPCalendarViewStyleCollection members

Microsoft.SharePoint namespace