UIElementCollection.CopyTo method

Copies the elements of the collection to an array, starting at a particular array index.

Syntax

public void CopyTo(
  UIElement[] array, 
  int arrayIndex
)
Public Sub CopyTo(
  array As UIElement(),  
  arrayIndex As Integer 
)

Parameters

  • array
    Type: array of UIElement

    The one-dimensional Array that is the destination of the elements copied from the collection. The Array must have zero-based indexing.

  • arrayIndex
    Type: System.Int32

    The zero-based index in array at which copying begins.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls

See also

UIElementCollection

 

 

Build date: 3/12/2013