Export (0) Print
Expand All

ImmutableList<T>.ICollection.CopyTo Method

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

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

void ICollection.CopyTo(
	Array array,
	int arrayIndex
)

Parameters

array
Type: System.Array

The one-dimensional array that is the destination of the elements copied from immutable list.

arrayIndex
Type: System.Int32

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

Implements

ICollection.CopyTo(Array, Int32)

This member is an explicit interface member implementation. It can be used only when the ImmutableList<T> instance is cast to an ICollection interface.

Show:
© 2014 Microsoft