SortedDictionary(Of TKey, TValue).ValueCollection.ICollection(Of TValue).Clear Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Removes all items from the ICollection(Of T). This implementation always throws a NotSupportedException.
Assembly: System (in System.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | Always thrown; the collection is read-only. |
The Count property is set to 0, and references to other objects from elements of the collection are also released.
Show: