SPFieldIndexCollection.CopyTo method
.NET Framework 4Copies the elements of the field index collection to an array, starting at the specified index.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As SPFieldIndex(), _
index As Integer _
)
'Usage
Dim instance As SPFieldIndexCollection
Dim array As SPFieldIndex()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
SPFieldIndex[] array,
int index
)
Parameters
array
Type: []The array that the indexes are copied into.
index
Type: System.Int32The index of the collection where copying begins.
Remarks
This method is a strongly-typed implementation of CopyTo.