CopyTo Method

DependencyObjectCollection<T>.CopyTo Method

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

Copies the objects in the collection to the specified array, starting at the specified index.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public void CopyTo(
	T[] array,
	int arrayIndex
)

Parameters

array
Type: T []
The destination array.
arrayIndex
Type: System.Int32
The index of the first object to copy.

Implements

ICollection<T>.CopyTo(T[], Int32)

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2018 Microsoft