다음을 통해 공유


SPLimitedWebPartCollection.CopyTo Method

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: []

See Also

Reference

SPLimitedWebPartCollection Class

SPLimitedWebPartCollection Members

Microsoft.SharePoint.WebPartPages Namespace