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

 

Copies the elements of the collection to a specified array, starting at a particular index.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
virtual void CopyTo(
	array<T>^ array,
	int index
) sealed

Parameters

array
Type: array<T>^

The destination Array for the elements of type T copied from the collection.

index
Type: System::Int32

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

.NET Framework
Available since 3.0
Return to top
Show: