VectorCollection.Clear Method ()


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

Removes all items from the VectorCollection.

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

abstract Clear : unit -> unit
override Clear : unit -> unit

Exception Condition

The VectorCollection is read-only.

This method does not change the capacity of the VectorCollection.

.NET Framework
Available since 3.0
Return to top