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

定義

從特定的 Array 索引處開始,將集合元素複製至 ArrayCopies the elements of the collection 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

RowDefinitionCollection 接收複製項目的以零為起始的 ArrayA zero-based Array that receives the copied items from the RowDefinitionCollection.

index
Int32 Int32

指定 Array 中的第一個位置,將接收複製來的內容。The first position in the specified Array to receive the copied contents.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 RowDefinitionCollection 執行個體轉換成 ICollection 介面時,才能使用這個成員。It can be used only when the RowDefinitionCollection instance is cast to an ICollection interface.

適用於

另請參閱