Export (0) Print
Expand All

PathSegmentCollection::Clear Method

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

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

public:
virtual void Clear() sealed

Implements

IList::Clear()
ICollection<T>::Clear()

ExceptionCondition
NotSupportedException

The PathSegmentCollection is read-only.

This method does not change the capacity of the PathSegmentCollection.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft