EntitySet<TEntity>.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);

参数

array
Array

集合的元素将复制到其中的数组。The array to which elements of the collection are copied.

index
Int32

数组索引,从此处开始复制。The array index at which copying begins.

实现

注解

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

适用于