Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Copies all of the Web Parts from the collection into a compatible one-dimensional array, starting at the specified index of the target array.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub CopyTo ( _
array As WebPart(), _
index As Integer _
)
'Usage
Dim instance As SPLimitedWebPartCollection
Dim array As WebPart()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
WebPart[] array,
int index
)
Parameters
- array
Type: []
- index
Type: System.Int32
See Also
Reference
SPLimitedWebPartCollection Class