Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft