-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Controls.UIElementCollection.ReplaceAll(Windows.UI.Xaml.UIElement[]) |
winrt method |
Initially clears the collection, then inserts the provided array as new items.
The new collection items.
For implementations that track a "changed" event, the initial reset fires an event, but the items added do not fire discrete per-item events.
If you are programming using C# or Microsoft Visual Basic, there is no single-call equivalent to ReplaceAll. Use Clear and then successive calls to Add.