KeyedCollection(Of TKey, TItem).ClearItems Method
Removes all elements from the KeyedCollection(Of TKey, TItem).
Assembly: mscorlib (in mscorlib.dll)
If there is a lookup dictionary, this method clears it but does not delete it.
If the number of elements has exceeded the dictionary creation threshold and the KeyedCollection(Of TKey, TItem) is using a lookup dictionary, it will continue to use a lookup dictionary even though the number of elements is again under the threshold.
This method is an O(n) operation, where n is Count.
Notes for Implementers
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.