ImmutableArray<T>.ICollection.CopyTo(Array, Int32) 方法

定义

从指定的索引开始,将此数组复制到另一个数组。Copies this array to another array starting at the specified index.

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);

参数

array
Array

此数组要复制到的数组。The array to copy this array to.

index
Int32

目标数组中开始复制操作处的索引。The index in the destination array to start the copy operation.

实现

注解

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

适用于