So I have this enum:
VB Code:
  1. Public Enum xyz
  2.      x = 1
  3.      y = 2
  4.      z = 5
  5. End Enum

And i want to have a Select Case that checks for any of the values in the enum (1,2,5) but I don't want to write out a case statement for each enumeration item. I would like to just write one case statement to determine if the value is in the enumeration like:
VB Code:
  1. Select Case myInt
  2. Case In [Enum].GetValues(GetType(enuTopChainTypes))
  3. End Select

Obviously this doesn't work, but I thing I am close. Anyone know how to do this?