-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Documents.ContentLinkProviderCollection.SetAt(System.UInt32,Windows.UI.Xaml.Documents.ContentLinkProvider) |
winrt method |
Sets the value at the specified index to the ContentLinkProvider value specified.
The index at which to set the value.
The value to set.
Important
This API supports content links. The Windows features that enable content links are not available in versions of Windows after Windows 10 version 1903. Content links for XAML text controls will not function in versions of Windows later than version 1903.
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.