D
Don
Is is possible to find a count of the number of items in an enumeration?
Something like:
Public Enum MyEnum
First = 1
Second = 2
Third = 3
End Enum
EnumCount(MyEnum) = 3
Is it also possible to iterate through an enumeration? Something akin to
this (which doesn't work):
Dim int as Integer
For Each int in MyEnum
...
Next int
- Don
Something like:
Public Enum MyEnum
First = 1
Second = 2
Third = 3
End Enum
EnumCount(MyEnum) = 3
Is it also possible to iterate through an enumeration? Something akin to
this (which doesn't work):
Dim int as Integer
For Each int in MyEnum
...
Next int
- Don