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

定义

从指定的索引值开始,将集合对象复制到一维数组。

 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

一个 Object 数组。

index
Int32

一个 Int32 值,该值指定开始复制的索引位置。

实现

适用于