L
Lee Gillie
I see this was posted a long time ago, but it has since expired.
Given....
Public Enum Fruit
Apple
Banana
Cherry
Peach
Strawberry
Tomatoe
End Enum
I'd like to be do something of this flavor in VB.NET....
Dim frMyFruit as Fruit
For Each frMyFruit in Fruit
...
Next
Of course it complains that "Fruit" is a type in the FOR EACH.
Does the language or runtime provide SOME WAY to find all legal values?
TIA for your learned advice.
Best regards,
Lee Gillie, Spokane
Given....
Public Enum Fruit
Apple
Banana
Cherry
Peach
Strawberry
Tomatoe
End Enum
I'd like to be do something of this flavor in VB.NET....
Dim frMyFruit as Fruit
For Each frMyFruit in Fruit
...
Next
Of course it complains that "Fruit" is a type in the FOR EACH.
Does the language or runtime provide SOME WAY to find all legal values?
TIA for your learned advice.
Best regards,
Lee Gillie, Spokane