Jaa


ContentLinkProviderCollection.ReplaceAll(ContentLinkProvider[]) Method

Definition

Initially clears the collection, then inserts the provided array as new items.

public:
 virtual void ReplaceAll(Platform::Array <ContentLinkProvider ^> ^ items) = IVector<ContentLinkProvider ^>::ReplaceAll;
void ReplaceAll(winrt::array_view <ContentLinkProvider const&> const& items);
public void ReplaceAll(ContentLinkProvider[] items);
function replaceAll(items)
Public Sub ReplaceAll (items As ContentLinkProvider())

Parameters

items
ContentLinkProvider[]

The new collection items.

Implements

Remarks

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.

For implementations that track a "changed" event, the initial reset fires an event, but the items added do not fire discrete events.

Applies to