469,568 Members | 1,395 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,568 developers. It's quick & easy.

Maximum Capacity of a Collection

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
Nov 22 '05 #1
1 2965
*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 ;)
"Claranews" <no**@none.com> wrote in message
news:10****************@iris.uk.clara.net...
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

Nov 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Cengiz Dincoglu | last post: by
1 post views Thread by Claranews | last post: by
8 posts views Thread by Joseph Turian | last post: by
2 posts views Thread by Dennis Myrén | last post: by
4 posts views Thread by Gregory Hassett | last post: by
3 posts views Thread by leeps_my | last post: by
reply views Thread by Alexander Vasilevsky | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.