Sascha Dietl <Sa*********@discussions.microsoft.comwrote:
Do you have control over the user interface in question, by the way?
i'm sorry my mistake i meant properties that i want to hide from reflection.
Okay, no problem. You can't prevent the properties from being available
from reflection, but if you apply [Browsable(false)] to the property,
then the normal visual designers won't display the property. Depending
on what UI is displaying the objects, that may be good enough.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog:
http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too