संपादित करें

इसके माध्यम से साझा किया गया


UIElementCollection.CopyTo Method

Definition

Copies a UIElement from a UIElementCollection to an array, starting at a specified index position.

Overloads

CopyTo(Array, Int32)

Copies a UIElement from a UIElementCollection to an array, starting at a specified index position.

CopyTo(UIElement[], Int32)

Copies a UIElement from a UIElementCollection to an array, starting at a specified index position.

CopyTo(Array, Int32)

Copies a UIElement from a UIElementCollection to an array, starting at a specified index position.

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)

Parameters

array
Array

An array into which the collection is copied.

index
Int32

The index position of the element where copying begins.

Implements

Applies to

CopyTo(UIElement[], Int32)

Copies a UIElement from a UIElementCollection to an array, starting at a specified index position.

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)

Parameters

array
UIElement[]

An array of UIElement objects.

index
Int32

The index position of the element where copying begins.

Applies to