ListView.CheckedListViewItemCollection.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

Array,表示要複製集合內容至其中的陣列。

index
Int32

目的陣列中的位置,集合中的項目將複製到該處。

實作

備註

您可以使用這個方法,將來自多個集合的已核取專案合併成單一陣列。

適用於