Clear Method

DrawingCollection.Clear Method ()

 

Removes all the items from this DrawingCollection.

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

public void Clear()

Exception Condition
NotSupportedException

The DrawingCollection is read-only.

This method does not change the capacity of the DrawingCollection.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft