I have an enumerated type and I am trying to figure out how to Parse it so I get the integer from the string. For Examples
Public Enum Emp
Director = 1
Associate = 2
Grunt = 3
End Enum
I want to be able to get at the number 1 by giving a string of Directory. I know I need to use the Parse command but am unsure how to do it. Any help would be appreciated.
Ken
Public Enum Emp
Director = 1
Associate = 2
Grunt = 3
End Enum
I want to be able to get at the number 1 by giving a string of Directory. I know I need to use the Parse command but am unsure how to do it. Any help would be appreciated.
Ken