Enumerating Dictionary Objects
I am just tring to enumerate my collection class that inherits from DictionaryBase, and i just cant seem to get it working right
I have a products class containing objects of type product
when I do
for each Prod in Prods
next
where the default property in Prods is Item which returns an object of type Prod
it says there is an invalid cast...
any ideas how I can get this to work?
Re: Enumerating Dictionary Objects
Hi Kleinma,
I'm having a similar problem. Can you tell me how you fixed it?
Thx.
Re: Enumerating Dictionary Objects
Hmmm it was 2 years ago, and honestly I can't remember exactly what I did. If you post your code I will try to fix it though.
Re: Enumerating Dictionary Objects