'Declaration
Public Sub CopyTo( _ ByVal array() As ListItem, _ ByVal arrayIndex As Integer _ )
'Usage
Dim instance As ListItemCollection Dim array() As ListItem Dim arrayIndex As Integer instance.CopyTo(array, arrayIndex)
public void CopyTo( ListItem[] array, int arrayIndex )
Parameters
- array
- The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing.
- arrayIndex
- The zero-based index in array at which copying begins.