Not sure what you're intending to use the attribute for.
-Eric
>-----Original Message-----
>Not sure what you're intending to use the attribute for.
>
>-Eric
>
>.
Actually i am trying to have the exception handling for a
method by using Attributes(custom attribues)
Eric Cadwell - 03 May 2005 16:26 GMT
Seems like you want Conditional Compilation. The attribute would require
reflection and it would be compiled into the metadata so it wouldn't be
dynamic. Using a conditional compiler constant won't require reflection to
determine the value of the attribute.
#const Level1
#if Level1
#else
#endif
HTH;
Eric Cadwell
http://www.origincontrols.com