Xceed .NET Libraries Documentation
CopyTo Method (ListBase)


Xceed.Zip Assembly > Xceed.Utils.Collections Namespace > ListBase Class : CopyTo Method
The one-dimensional array that is the destination of the items copied from System.Collections.ICollection. The Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Copies the items of the System.Collections.ICollection to an array, starting at a particular array index.
Syntax
'Declaration
 
Public Sub CopyTo( _

   ByVal array As Array, _

   ByVal startIndex As Integer _

) 
'Usage
 
Dim instance As ListBase

Dim array As Array

Dim startIndex As Integer

 

instance.CopyTo(array, startIndex)
public void CopyTo( 

   Array array,

   int startIndex

)

Parameters

array
The one-dimensional array that is the destination of the items copied from System.Collections.ICollection. The Array must have zero-based indexing.
startIndex
The zero-based index in array at which copying begins.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ListBase Class
ListBase Members