Re: Custom Attribute
- From: "Eric Cadwell" <ecadwell@xxxxxxxxxxxxxx>
- Date: Tue, 3 May 2005 08:26:50 -0700
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
.
- Prev by Date: Re: ByRef/Ref passing in Web Services
- Next by Date: Re: Target a different .NET Framework version
- Previous by thread: Question about MailMessage
- Next by thread: System Resource Exceeded
- Index(es):
Relevant Pages
|