ICollection.CopyTo Method

SynchronizedReadOnlyCollection(Of T).ICollection.CopyTo Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Private Sub CopyTo ( _
	array As Array, _
	index As Integer _
) Implements ICollection.CopyTo

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.

Implements

ICollection.CopyTo(Array, Int32)

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft