Chapter 17 Working with VB .NET
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
Copyright (C) 2006. Sybase Inc. All rights reserved. |
![]() |