Share via


SPBlockedSolutionCollection.CopyTo Method

Copies this collection to the given array.

Namespace:  Microsoft.SharePoint.UserCode
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Sub CopyTo ( _
    array As SPBlockedSolution(), _
    count As Integer _
)
'Usage
Dim instance As SPBlockedSolutionCollection
Dim array As SPBlockedSolution()
Dim count As Integer

instance.CopyTo(array, count)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public void CopyTo(
    SPBlockedSolution[] array,
    int count
)

Parameters

  • array
    Type: []

    A one-dimensional, zero-based array where the elements will be copied.

  • count
    Type: System.Int32

    A zero-based index where the copy begins in the array.

Implements

ICollection<T>.CopyTo([], Int32)

See Also

Reference

SPBlockedSolutionCollection Class

SPBlockedSolutionCollection Members

Microsoft.SharePoint.UserCode Namespace