Copies the items of the collection to an System.Array, starting at a particular index.

Namespace:  Rebex.IO.Compression
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Sub CopyTo ( _
	array As ZipItem(), _
	arrayIndex As Integer _
)
C#
public void CopyTo(
	ZipItem[] array,
	int arrayIndex
)

Parameters

array
Type: array<Rebex.IO.Compression..::..ZipItem>[]()[][]
The one-dimensional System.Array that is the destination of the items copied from the collection. The System.Array must have zero-based indexing.
arrayIndex
Type: System..::..Int32
The zero-based index in array at which copying begins.

Implements

ICollection<(Of <(<'T>)>)>..::..CopyTo(array<T>[]()[][], Int32)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also