Export (0) Print
Expand All

ImmutableList<T>.CopyTo Method (T[], Int32)

Copies the entire immutable list to a compatible one-dimensional array, starting at the specified index of the target array.

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public void CopyTo(
	T[] array,
	int arrayIndex
)

Parameters

array
Type: T[]

The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.

arrayIndex
Type: System.Int32

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

Implements

ICollection<T>.CopyTo(T[], Int32)
Show:
© 2014 Microsoft