You design a VB .NET enumeration using a class with the <<enumeration>> stereotype. The code of the class attributes is used as enumeration values.
Data Type: You set the enumeration data typeusing the EnumDataType extended attribute of the enumeration. You can type for example Byte, Short, or Long in the value column of the extended attribute
Initial Expression: You set the enumeration Initial Expression by defining a value in the Initial Value box of an enum attribute
Public Enum Day Monday Tuesday Wednesday Thursday Friday Saturday Sunday FirstDay = Monday LastDay = Sunday End Enum