ArrayList: TrimToSize

TrimToSize

Sets the capacity to the number of items in the list.



 Public Sub TrimToSize ( )

Remarks

This will decrease the size of the internal array. This can save memory if you know that no more items will be added to the list.

See Also

Project CorLib Overview

Class ArrayList Overview