PathSegmentCollection.Clear Method ()


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

Clears the collection of all segments and resets Count to zero.

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

Exception Condition

The PathSegmentCollection is read-only.

This method does not change the capacity of the PathSegmentCollection.

.NET Framework
Available since 3.0
Return to top