-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.UIElementWeakCollection.InsertAt(System.UInt32,Microsoft.UI.Xaml.UIElement) |
winrt method |
Inserts the specified item at the specified index.
The zero-based index at which to insert the item.
The object to insert into the collection.
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.