G
Guest
Hi,
I'm still very new to vb.net. I created a class, TableList, that inherits collections.base. I'd like to do a "for each" in another class that instantiates a TableList. I think I need to implement IEnumerable.
The things that I know that I don't know are:
If I implement IEnumerable are there any particular methods that I have to create i my TableList Class.
When I do my "for each", it will be something like For Each x in TableList. What do I dimension x as?
I'd greatly appreciate any help.
Art
I'm still very new to vb.net. I created a class, TableList, that inherits collections.base. I'd like to do a "for each" in another class that instantiates a TableList. I think I need to implement IEnumerable.
The things that I know that I don't know are:
If I implement IEnumerable are there any particular methods that I have to create i my TableList Class.
When I do my "for each", it will be something like For Each x in TableList. What do I dimension x as?
I'd greatly appreciate any help.
Art