ICollection.CopyTo Method

DependencyObjectCollection<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 objects in the collection to the specified array, starting at the specified index.

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

void ICollection.CopyTo(
	Array array,
	int index
)

Parameters

array
Type: System.Array
The destination array.
index
Type: System.Int32
The index of the first object to copy.

Implements

ICollection.CopyTo(Array, Int32)

This member is an explicit interface member implementation. It can be used only when the DependencyObjectCollection<T> instance is cast to an ICollection interface.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2018 Microsoft