Επεξεργασία

Κοινή χρήση μέσω


ListViewPagedDataSource.CopyTo(Array, Int32) Method

Definition

Copies all the items from the data source to the specified Array object, starting at the specified index in Array.

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

Parameters

array
Array

A zero-based Array object that receives the copied items from the data source.

index
Int32

The first position in the specified Array object to receive the copied contents.

Implements

Remarks

Use this method to copy the contents of the data source into the specified System.Array object, starting at the specified index. The System.Array object is often used to iterate through the items in the data source.

Applies to

See also