ItemCollection.ReplaceAll(Object[]) 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 <Platform::Object ^> ^ items) = IVector<Platform::Object ^>::ReplaceAll;
void ReplaceAll(winrt::array_view <IInspectable const&> const& items);
public void ReplaceAll(object[] items);
function replaceAll(items)
Public Sub ReplaceAll (items As Object())
Parameters
- items
-
Object[]
Platform::Object[]
IInspectable[]
The new collection items.
Implements
Remarks
For implementations that track a "changed" event, the initial reset fires an event, but the items added don't fire discrete per-item events.