SortedList: Clear

Clear

Removes all of the items from the SortedList object.



 Public Sub Clear ( )

Remarks

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.

See Also

Project CorLib Overview

Class SortedList Overview