DependencyObjectCollection.ReplaceAll(DependencyObject[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initially clears the collection, then inserts the provided array as new items.
public:
virtual void ReplaceAll(Platform::Array <DependencyObject ^> ^ items) = IVector<DependencyObject ^>::ReplaceAll;
void ReplaceAll(winrt::array_view <DependencyObject const&> const& items);
public void ReplaceAll(DependencyObject[] items);
function replaceAll(items)
Public Sub ReplaceAll (items As DependencyObject())
Parameters
- items
- DependencyObject[]
The new collection items.
Implements
Remarks
For implementations that track a changed event, which this collection does do with VectorChanged, the initial reset fires an event, but the items added do not fire discrete per-item events.