ImmutableArray<T>::CopyTo Method (Int32, array<T>^, Int32, Int32)

 

Copies the specified items in this array to the specified array at the specified starting index.

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

public:
void CopyTo(
	int sourceIndex,
	array<T>^ destination,
	int destinationIndex,
	int length
)

Parameters

sourceIndex
Type: System::Int32

The index of this array where copying begins.

destination
Type: array<T>^

The array to copy to.

destinationIndex
Type: System::Int32

The index in array where copying begins.

length
Type: System::Int32

The number of elements to copy from this array.

Return to top
Show: