SortedList: Clear |
Removes all of the items from the SortedList object.
Public Sub Clear ( )
Count is set to zero and elements are cleared from the collection.
Capacity remains unchanged. To reset the capacity of the SortedList object, call TrimToSize or set the Capacity property directly.