Skip to Content
0
Former Member
Sep 07, 2007 at 04:15 PM

How to check if a value exist in a "Simple Type Enumeration"

14 Views

I've created a Simple Type Enumeration (in the Local Dictionary) with these values :

RED

BLUE

GREEN

How do we verifiy if a string exist in this enumeration?

By example :

- check for the string "RED" --> true

- check for the string "YELLOW" --> false

Thanks!

Message was edited by:

Emanuel Champagne