BindingSource.CopyTo Method (Array, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

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

.NET Framework
Available since 2.0
Return to top
Show: