DesignerAutoFormatCollection.ICollection.CopyTo(Array, Int32) 方法

定義

Array 物件轉換為 Array 介面時,從特定 DesignerAutoFormatCollection 索引開始,將集合的元素複製到 ICollection 物件。

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

參數

array
Array

要接收指定項目的 Array

index
Int32

要複製項目的起始索引。

實作

備註

這個成員是明確介面成員實作, 只有在 DesignerAutoFormatCollection 執行個體轉換成 ICollection 介面時,才能使用這個成員。

適用於

另請參閱