UIElementCollection.CopyTo 方法

定義

從指定的索引位置開始,將 UIElementUIElementCollection 複製到陣列。

多載

CopyTo(Array, Int32)

從指定的索引位置開始,將 UIElementUIElementCollection 複製到陣列。

CopyTo(UIElement[], Int32)

從指定的索引位置開始,將 UIElementUIElementCollection 複製到陣列。

CopyTo(Array, Int32)

從指定的索引位置開始,將 UIElementUIElementCollection 複製到陣列。

public:
 virtual void CopyTo(Array ^ array, int index);
public virtual void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Overridable Sub CopyTo (array As Array, index As Integer)

參數

array
Array

集合將會複製到此陣列。

index
Int32

開始進行複製的項目索引位置。

實作

適用於

CopyTo(UIElement[], Int32)

從指定的索引位置開始,將 UIElementUIElementCollection 複製到陣列。

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

參數

array
UIElement[]

UIElement 物件的陣列。

index
Int32

開始進行複製的項目索引位置。

適用於