
Create Enum programmatically?
Exactly what do you want to accomplish?
--
Jonathan Allen
Is it possible to Create a Enum programmatically using Class Name under a
specific Namespace?
What I intend to do is this.
I want to create a function which accept the name of my objects under
MyNamespace. Like:
Function MyFunc(ByVal strObjName as MyEnum) As String
.......
-- MyEnum is an Enum that I create.
I want to create an the MyEnum without me adding the value in everytime I
create
a new Class under MyNamespace.
How could that be done?
Thanks.
Joshua