CopyTo Method

SynchronizedReadOnlyCollection(Of T).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 particular index.

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

'Declaration
Public Sub CopyTo ( _
	array As T(), _
	arrayIndex As Integer _
)

Parameters

array
Type: T ()
The Array that is the destination for the elements copied from the collection.
arrayIndex
Type: System.Int32

Implements

ICollection(Of T).CopyTo(T(), Int32)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft