-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.DependencyObjectCollection.InsertAt(System.UInt32,Microsoft.UI.Xaml.DependencyObject) |
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.
Note
The equivalent Microsoft .NET API is Insert
.