|
-
Jul 22nd, 2004, 10:49 AM
#1
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|