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

 

Copies the elements of the ReadOnlyCollectionBuilder<T> to an Array, starting at particular Array index.

Namespace:   System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.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 ReadOnlyCollectionBuilder<T>.

arrayIndex
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: