Control.ControlCollection.CopyTo(Array, Int32) 方法

定义

从特定数组索引开始,将集合的元素复制到数组。

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

参数

dest
Array

一维数组,它是从集合中复制的元素的目标。 数组必须具有从零开始的索引。

index
Int32

从零开始复制的索引 dest

实现

适用于