语言

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

定义

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

 virtual void System.Collections.ICollection.CopyTo(Array ^ dest, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo(Array dest, int index);
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

参数

dest
Array

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

index
Int32

从零开始复制的索引 Array 。

实现

适用于