Share via


GeometryCollection.ReplaceAll(Geometry[]) Method

Definition

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

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

Parameters

items
Geometry[]

The new collection items.

Implements

Remarks

If successful, calling this method reduces the collection size by one.

Applies to