Bewerken

Share via


BindingSource.CopyTo(Array, Int32) Method

Definition

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

public:
 virtual void CopyTo(Array ^ arr, int index);
public virtual void CopyTo (Array arr, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Overridable Sub CopyTo (arr As Array, index As Integer)

Parameters

arr
Array

The destination array.

index
Int32

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

Implements

Remarks

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

Applies to