CopyTo Method

BindingSource.CopyTo Method (Array, Int32)


Copies the contents of the List to the specified array, starting at the specified index value.

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

public virtual void CopyTo(
	Array arr,
	int index


Type: System.Array

The destination array.

Type: System.Int32

The index in the destination array at which to start the copy operation.

You can use this method to combine items from multiple sources into a single array.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft