ColumnDefinitionCollection.CopyTo(ColumnDefinition[], Int32) ColumnDefinitionCollection.CopyTo(ColumnDefinition[], Int32) ColumnDefinitionCollection.CopyTo(ColumnDefinition[], Int32) ColumnDefinitionCollection.CopyTo(ColumnDefinition[], Int32) Method

定義

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

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

參數

array
ColumnDefinition[]

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

index
Int32 Int32 Int32 Int32

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

例外狀況

array 是多維的。array is multidimensional.

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

備註

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

適用於

另請參閱