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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)> _
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)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ArrayOfSPTypesParameter)]
public void CopyTo(
SPLink[] array,
int index
)
Parameters
array
Type: []An array of Microsoft.SharePoint.SPLink objects to which to copy the link collection.
index
Type: System.Int32A 32-bit integer specifying the zero-based index in the array at which to begin copying the links.