SortedDictionary(Of TKey, TValue).Clear Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Removes all elements from the SortedDictionary(Of TKey, TValue).
Assembly: System (in System.dll)
The Count property is set to 0, and references to other objects from elements of the collection are also released.
This method is an O(1) operation, since the root of the internal data structures is simply released for garbage collection.
Show: