Modeling a C# enum member in a model (C# code)
A C# enum member is modeled through a Modeler Enumeration Literal.
To model a C# enum member in a model:
1. Open the Property Pages for the enum that is to own the enum member.
2. Click the Enumerations tab.
3. Click the
New Item button, and then type the name of the enum member.
4. If you want to specify a constant expression for the enum member:
a. Apply the «C# Enum Member» stereotype to the Enumeration Literal.
b. On the Enumeration Literal's Property Pages, click the C# Enum Member tab.
c. Set the tagged values of the Tag Definitions as required.