SPUserSolutionCollection.CopyTo method
Copies the elements of the SPUserSolutionCollection to a sandboxed solution array starting at a specified index.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As SPUserSolution(), _
index As Integer _
)
'Usage
Dim instance As SPUserSolutionCollection
Dim array As SPUserSolution()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
SPUserSolution[] array,
int index
)
Parameters
array
Type: []The destination array of the elements copied from the SPUserSolutionCollection.
index
Type: System.Int32The zero-based index in the destination array at which copying begins.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | array is null . |
Remarks
This method copies the elements of the current SPUserSolutionCollection to the specified sandboxed solution array starting at the specified index of the target array.
See also
Reference
SPUserSolutionCollection class