Copies the range of elements from the collection to a compatible one-dimensional Array, starting at the specified index of the target array.

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Sub CopyTo ( _
	array As Array, _
	index As Integer _
)
C#
public void CopyTo(
	Array array,
	int index
)

Parameters

array
Type: System..::..Array
One-dimensional zero-based array that is the destination of the elements copied from the collection.
index
Type: System..::..Int32
A zero-based index in the destination array at which copying begins.

Implements

ICollection..::..CopyTo(Array, Int32)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also