枚举必须声明为整型

更新:2007 年 11 月

可以在枚举中使用的几种有效类型为 SByte、Byte、Short、UShort、Integer、UInteger、Long 和 ULong。不可使用任何其他数据类型。

**错误 ID:**BC30650

更正此错误

  • 指定 SByte、Byte、Short、UShort、Integer、UInteger、Long 或 ULong 数据类型。

请参见

参考

数据类型摘要 (Visual Basic)

Enum 语句 (Visual Basic)