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 the internal collection to the given array starting at the specified index.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
listItems As SPListItem(), _
index As Integer _
)
'Usage
Dim instance As ListItemBasedReadOnlyCollection
Dim listItems As SPListItem()
Dim index As Integer
instance.CopyTo(listItems, index)
public void CopyTo(
SPListItem[] listItems,
int index
)
Parameters
listItems
Type: []Array of listItems to copy the collection data to.
index
Type: System.Int32Index of array to start copying the data.
See Also
Reference
ListItemBasedReadOnlyCollection<T> Class