Enums must be declared as an integral type

The only valid types you can use in enumerations are SByte, Byte, Short, UShort, Integer, UInteger, Long, and ULong. No other data types can be used.

Error ID: BC30650

To correct this error

  • Specify a data type of SByte, Byte, Short, UShort, Integer, UInteger, Long, or ULong.

See Also

Reference

Data Type Summary (Visual Basic)

Enum Statement (Visual Basic)