You can add domain enumerations using DSL Explorer, and you can configure them under the Domain Types node of DSL Explorer. You add domain enumeration types to your domain-specific language definition as described in the following procedure.
To add a domain enumeration using DSL Explorer
In DSL Explorer, right-click the Dsl node, and click Add Domain Enumeration.
A domain enumeration type appears under the Domain Types node in DSL Explorer and is highlighted.
In the Properties window, set the Is Flags property to True to define as a flags enumeration.
Set the Name property to an applicable name.
Modify any additional properties as needed.
Add enumeration literals. For more information, see How to: Add Enumeration Literals.
See Also
Concepts
Defining the Domain-Specific Language in Domain-Specific Language Explorer
Working with Domain Types in Domain-Specific Language Explorer