Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maintaining collection
Message
From
23/05/2013 14:52:04
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01574508
Message ID:
01574606
Views:
38
Likes (1)
>>Well - I made the key part of the data for simplicity - it doesn't need to be
>>
>>If you go for a KeyedCollection, wouldn't you need to subclass KeyedCollection first (and implement GetKeyForItem() ? http://msdn.microsoft.com/en-us/library/ms132454.aspx)
>
>Yes. Maybe not worth the candle but would be simpler when adding items etc......

The class at http://geekswithblogs.net/NewThingsILearned/archive/2010/01/07/using-keyedcollectionlttkey-titemgt.aspx looks like a good generic version to use.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform