This documentation is for the old version. Go to the latest Graphics Mill docs

Collection<T>.CopyTo Method

Copies the entire Collection<T> to a compatible one-dimensional array, starting at the specified index of the target array.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

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

Parameters

array

Type: T []

The one-dimensional array that is the destination of the items copied from Collection<T>. The array must have zero-based indexing.
arrayIndex

Type: System.Int32

The zero-based index in array at which copying begins.

See Also

Reference