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

定义

有关此成员的说明,请参见 CopyTo(Array, Int32)For a description of this member, see 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

一个从零开始的 Array,它接收 TransformCollection 的复制项。A zero-based Array that receives the copied items from the TransformCollection.

index
Int32

指定的 Array 中接收复制内容的第一个位置。The first position in the specified Array to receive the copied contents.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 TransformCollection 实例被强制转换为 ICollection 接口时使用。It can be used only when the TransformCollection instance is cast to an ICollection interface.

适用于

另请参阅