On 06/21/02 Peter Lillevold wrote:
> Well ofcourse, everything you can create using handtyped code and a compiler
> can be generated using Reflection.
Barring bugs and omissions, of course. And in Reflection land there are
quite a bit of both. For example, you can't create a nested enum.
Here is
ributes.Public, typeof(int));
Best regards
Peter Lillevold
-Original Message-
From: Paul Stevens [mailto:[EMAIL PROTECTED]]
Sent: 20. juni 2002 10:41
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] Reflection To Create Enum
Is it Possible to create an enum Using Reflection?
You
Paul wrote:
> Is it Possible to create an enum Using Reflection?
Yep... use the classes in the System.Reflection.Emit namespace.
Alternatively, you can apply the CodeDOM.
-- Stefan
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other
Is it Possible to create an enum Using Reflection?
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.