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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)> _
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)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)]
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