語言

ComboBox.ObjectCollection.ICollection.CopyTo(Array, Int32) 方法

定義

關於此成員的描述,請參見 CopyTo(Array, Int32)。

 virtual void System.Collections.ICollection.CopyTo(Array ^ dest, int index) = System::Collections::ICollection::CopyTo;
 virtual void System.Collections.ICollection.CopyTo(Array ^ destination, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo(Array dest, int index);
void ICollection.CopyTo(Array destination, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (dest As Array, index As Integer) Implements ICollection.CopyTo
Sub CopyTo (destination As Array, index As Integer) Implements ICollection.CopyTo

參數

destdestination
Array

一維陣列,作為從集合複製元素的目的地。 陣列必須具有零基索引。

index
Int32

複製開始的陣列中以零為基礎的索引。

實作

備註

此成員為明確介面成員實作。 它只能在實 ComboBox.ObjectCollection 例投射到 ICollection 介面時使用。

適用於

另請參閱