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

定义

有关此成员的说明,请参见 CopyTo(Array, Int32)For a description of this member, see CopyTo(Array, Int32).

 virtual void System.Collections.ICollection.CopyTo(Array ^ dest, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array dest, int index);
Sub CopyTo (dest As Array, index As Integer) Implements ICollection.CopyTo

参数

dest
Array

作为集合中元素的复制目标位置的一维数组。The one-dimensional array that is the destination of the elements copied from the collection. 该数组的索引必须从零开始。The array must have zero-based indexing.

index
Int32

数组中开始复制的位置的索引(从零开始)。The zero-based index in the array at which copying begins.

实现

注解

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

适用于