victoryhighway2
Programmer
Hello,
Is there anything that I can use in a conditional statement to refer to ANY member of an enum? Such as:
What I'm looking for is to test to see if the value of xyzvar matches any of the member values of the enum MyEnum, without having to explicitly type out all of the member names.
Regards,
Geoffrey
Is there anything that I can use in a conditional statement to refer to ANY member of an enum? Such as:
Code:
Select Case xyzvar
Case MyEnum.All
End Select
What I'm looking for is to test to see if the value of xyzvar matches any of the member values of the enum MyEnum, without having to explicitly type out all of the member names.
Regards,
Geoffrey