इसके माध्यम से साझा किया गया


ItemCollection.ReplaceAll(Object[]) Method

Definition

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.

Applies to