UIElementCollection.Insert method

Inserts an item into the collection at the specified index.

Syntax

public void Insert(
  int index, 
  UIElement item
)
Public Sub Insert(
  index As Integer,  
  item As UIElement 
)

Parameters

  • index
    Type: System.Int32

    The zero-based index at which item should be inserted.

  • item
    Type: UIElement

    The object to insert into the collection.

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