UIElementCollection.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- index
- Int32
The index position of the element where copying begins.