Maximum Capacity of a Collection

  • Thread starter Thread starter Claranews
  • Start date Start date
C

Claranews

What is the maximum capacity of a collection?

I have a routine that adds listviewitems to a collection, and stores them so
I can pick and choose which I add/delete in future. There are 6000 items in
this collection...but when it reaches 584, I get the "This collection has
reached its maximum capacity" exception.

How would I work around this?

Thanks
Jamie
 
*SOLVED*

The code I had accidentally kept adding to the same listviewitem, therefore,
I now know that collections don't have this limit, but the listviewitem
allows only 584 'ish' subitems ;)
 
Back
Top