Enumeration

You design a VB .NET enumeration using a class with the <<enumeration>> stereotype. The code of the class attributes is used as enumeration values.




Public Enum Day
 Monday
 Tuesday
 Wednesday
 Thursday
 Friday
 Saturday
 Sunday
 FirstDay = Monday
 LastDay = Sunday
End Enum


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com