ICollection.CopyTo Method

SynchronizedReadOnlyCollection<T>.ICollection.CopyTo Method (Array, 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)

void ICollection.CopyTo(
	Array array,
	int index
)

Parameters

array
Type: System.Array

The Array that is the destination for the elements 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
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft