RowDefinitionCollection.CopyTo(RowDefinition[], Int32) RowDefinitionCollection.CopyTo(RowDefinition[], Int32) RowDefinitionCollection.CopyTo(RowDefinition[], Int32) RowDefinitionCollection.CopyTo(RowDefinition[], Int32) Method

定義

RowDefinition 物件陣列複製到 RowDefinitionCollection 內的指定索引位置。Copies an array of RowDefinition objects to a given index position within a RowDefinitionCollection.

public:
 virtual void CopyTo(cli::array <System::Windows::Controls::RowDefinition ^> ^ array, int index);
public void CopyTo (System.Windows.Controls.RowDefinition[] array, int index);
abstract member CopyTo : System.Windows.Controls.RowDefinition[] * int -> unit
override this.CopyTo : System.Windows.Controls.RowDefinition[] * int -> unit
Public Sub CopyTo (array As RowDefinition(), index As Integer)

參數

array
RowDefinition[]

RowDefinition 物件的陣列。An array of RowDefinition objects.

index
Int32 Int32 Int32 Int32

識別要將 RowDefinition 物件複製到其中的 array 索引位置。Identifies the index position within array to which the RowDefinition objects are copied.

例外狀況

array 是多維的。array is multidimensional.

-或--or- 來源 ICollection 中的項目數大於從索引至目的陣列結束間的可用空間。The number of elements in the source ICollection is greater than the available space from index to the end of the destination array.

備註

RowDefinitionCollection使用以零為基底的索引系統。RowDefinitionCollection uses a zero-based indexing system.

適用於

另請參閱