ReadOnlyCollectionBuilder<T>::ICollection::CopyTo Method (Array^, Int32)

 

Copies the elements of the ICollection<T> to an array, starting at the specified array index.

Namespace:   System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

private:
virtual void CopyTo(
	Array^ array,
	int index
) sealed = ICollection::CopyTo

Parameters

array
Type: System::Array^

The one-dimensional array that is the destination of the elements copied from ICollection<T>. The array must have zero-based indexing.

index
Type: System::Int32

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

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: