BindingSource.CopyTo Method

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
)

Parameters

arr
Type: System.Array

The destination array.

index
Type: System.Int32

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

Implements

ICollection.CopyTo(Array, Int32)

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft