ImmutableList<T>::CopyTo Method (array<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:
virtual void CopyTo(
	array<T>^ array,
	int arrayIndex
) sealed

Parameters

array
Type: array<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.

Return to top
Show: