Share via


GradientStopCollection.ReplaceAll(GradientStop[]) Method

Definition

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

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

Parameters

items
GradientStop[]

The new collection items.

Implements

Remarks

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

Applies to