M
MBeynon
Guest
Hi, I have a requirement to create a System.Enum and populate it with up to 12 members as I'm trying to populate Microsoft.Win32.TaskScheduler.MonthlyTrigger
aysOfMonth which accepts a System.Enum. The problem I'm having is I can't seem to find an example of how to get more than two items into my Enum, other than an example I found on this forum, using the OR of the OE EnumHelper and then calling the EnumHelper again with the output of the first!; rEnum = EnumHelper:Or(Microsoft.Win32.TaskScheduler.MonthsOfTheYear:January, Microsoft.Win32.TaskScheduler.MonthsOfTheYear:February). rEnum = EnumHelper:Or(rEnum, Microsoft.Win32.TaskScheduler.MonthsOfTheYear:March). mt:MonthsOfYear = CAST(rEnum, Microsoft.Win32.TaskScheduler.MonthsOfTheYear). Is there a better way of doing this? Many Thanks, Mark.
Continue reading...
Continue reading...