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.
The zero-based index in the array at which the copying begins.
Copies the contents of the List to the specified array, starting at the specified index value.
'Declaration
Public Overridable Sub CopyTo( _
ByVal array As System.Array, _
ByVal index As System.Integer _
)
public virtual void CopyTo(
System.Array array,
System.int index
)
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.
index
The zero-based index in the array at which the copying begins.