Share via


SPLinkCollection.CopyTo method

Copies the collection to an array of SPLink objects starting at the specified index in the array.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As SPLink(), _
    index As Integer _
)
'Usage
Dim instance As SPLinkCollection
Dim array As SPLink()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    SPLink[] array,
    int index
)

Parameters

  • index
    Type: System.Int32

    A 32-bit integer specifying the zero-based index in the array at which to begin copying the links.

See also

Reference

SPLinkCollection class

SPLinkCollection members

Microsoft.SharePoint namespace