-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.SetterBaseCollection.SetAt(System.UInt32,Windows.UI.Xaml.SetterBase) |
winrt method |
Sets the value at the specified index to the SetterBase value specified.
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 Item (the indexer).