Invalid outside Enum

   

An Enum is a data type that can be used to create groups of related constants (called enumerations). This error has the following causes and solutions:

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).