Enums are sets of named constants. PowerDesigner models enums as classes with a stereotype of <<Enum>>.
For information about creating and working with classes, see Classes (OOM).
Public Enum Day Monday Tuesday Wednesday Thursday Friday Saturday Sunday FirstDay = Monday LastDay = Sunday End Enum |
Visual Basic 2005 enum property sheets contain all the standard enum tabs along with the following properties, located on the VB tab:
Property |
Description |
---|---|
Base Integral Type |
Specifies the base integral type for the enum. |
Compare |
Specifies the Compare option directive for the enum declaration. |
Explicit |
Specifies the Explicit option directive for the enum declaration. |
Shadows |
Specifies that the enum redefines a enum defined in a parent enum . |
Strict |
Specifies the Strict option directive for the enum declaration. |