-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Controls.UIElementCollection.InsertAt(System.UInt32,Windows.UI.Xaml.UIElement) |
winrt method |
Inserts the specified item at the specified index.
The index at which to set the value.
The value to set.
InsertAt expands the collection and moves all subsequent index items by one. In contrast, SetAt replaces the item at the index, and the collection count remains the same.
If you are programming using C# or Microsoft Visual Basic, see Insert.