ComponentCollection.CopyTo(IComponent[], Int32) 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将整个集合复制到数组中,从指定的数组索引处开始写入。
public:
 void CopyTo(cli::array <System::ComponentModel::IComponent ^> ^ array, int index);
	public void CopyTo (System.ComponentModel.IComponent[] array, int index);
	member this.CopyTo : System.ComponentModel.IComponent[] * int -> unit
	Public Sub CopyTo (array As IComponent(), index As Integer)
	参数
- array
 - IComponent[]
 
要将集合中的对象复制到其中的 IComponent 数组。
- index
 - Int32
 
复制开始位置的 array 索引。