TableLayoutStyleCollection.ICollection.CopyTo(Array, Int32) TableLayoutStyleCollection.ICollection.CopyTo(Array, Int32) Method

定义

有关此方法的说明,请参见 CopyTo(Array, Int32) 方法。For a description of this method, see the CopyTo(Array, Int32) method.

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

参数

array
Array Array

一维 Array,它是从 ICollection 复制的元素的目标。The one-dimensional Array that is the destination of the elements copied from ICollection. Array 必须具有从零开始的索引。The Array must have zero-based indexing.

startIndex
Int32 Int32

array 中从零开始的索引,从此处开始复制。The zero-based index in array at which copying begins.

实现

注解

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

适用于