PointCollection.Clear Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes all items from the PointCollection.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public void Clear()

Exception Condition

The PointCollection is read-only.

This method does not change the capacity of the PointCollection.

.NET Framework
Available since 3.0
Return to top