語言

TypeConverter.StandardValuesCollection.CopyTo(Array, Int32) 方法

定義

將此集合的內容複製到陣列中。

public:
 virtual void CopyTo(Array ^ array, int index);
public:
 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
member this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)

參數

array
Array

一個 Array 代表要複製的陣列。

index
Int32

從索引開始。

實作

備註

指數號是以零為基礎。 因此,你必須從某個特定 Object 點的數值位置減去一,才能取得該 Object。 例如,要得到第三 Object個 ,你需要指定 myColl[2]

適用於

另請參閱