Hidden members in the property browser
In the object browser you can right click and select show hidden members. How do I make a property hidden in .net. In VB6 you could do it from the properties dialog.
I assume it is an attribute but cannot find anything in msdn on how to do this.
Thanks,
Re: Hidden members in the property browser
Try the <Browsable(False)> attribute on the property.
Quote:
Originally posted by Mike Gustafson
In the object browser you can right click and select show hidden members. How do I make a property hidden in .net. In VB6 you could do it from the properties dialog.
I assume it is an attribute but cannot find anything in msdn on how to do this.
Thanks,
Re: Re: Hidden members in the property browser
Quote:
Originally posted by shutty
Try the <Browsable(False)> attribute on the property.
Thanks but this is not it. The browsable atribute is to allow browsing of the property if you view the object in the property browser control.