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

定义

ProviderCollection 的元素复制到一个数组中从特定的数组索引开始的位置。Copies the elements of the ProviderCollection to an array, starting at a particular array index.

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

参数

array
Array Array

要将集合的元素复制到的数组。The array to copy the elements of the collection to.

index
Int32 Int32

数组索引,从该索引处开始复制集合中的提供程序实例。The index of the array at which to start copying provider instances from the collection.

实现

注解

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

适用于