How to change the order of an Enum popup?

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hi All,

I have an enumeration type that I use for logging which is:

public enum EnumSeverity
{
Critical=0,
EventLogWrite,
Error,
Warning,
Information,
Entry,
Exit,
Create,
Destroy,
Verbose=9
}

As you can see I use this for logging so Ideally I would like the Enum
popup to come up in the order that it is in the declaration above. Ie.
By assigned numerical value rather than alphabetical value.

Does anyone know of any way I can do this please.

Thanks,
 
Back
Top