You can use CodeDOM to create, compile and use your own types at runtime.(and any other code that you want; essentially CodeDOM allows you to generate code)
Ali > >From: Ben Kloosterman <[EMAIL PROTECTED]> > >Reply-To: "Unmoderated discussion of advanced .NET > topics." > ><[email protected]> > >To: [email protected] > >Subject: [ADVANCED-DOTNET] Enumerations > >Date: Tue, 17 May 2005 14:08:11 +1000 > > > >Hi All , > > > >Is there any way of extending an existing > enumeration with new fields at > >run time using Reflection ? I have used > enumbuilder to create a new > >enum but what I really want is to modify an > existing enumerations at run > >time . By adding additional entries from an Xml > file or table . > > > >Regards , > > > >Ben > > > >=================================== > >This list is hosted by DevelopMentor� > http://www.develop.com > > > >View archives and manage your subscription(s) at > http://discuss.develop.com > > _________________________________________________________________ > Job hunting? > http://ads.mediaturf.net/event.ng/Type=click&FlightID=18377&AdID=47843&TargetID=10169&Targets=10169&Values=414,1264,1756,3035&Redirect=http:%2F%2Fwww.timesjobs.com%2FMSN%2F > Get the right one! Log on to www.timesjobs.com TODAY > > =================================== > This list is hosted by DevelopMentor� > http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentor� http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
