Is IntelliSense showing you everything?
Posted: Thursday, July 29, 2004 10:08 PM
by
dave
Filed under: VS2005, VS2003
Well I learned something new today. I can't believe I have been developing in Visual Studio .Net for so long without knowing this one. I'm sure someone showed me at one time or another. If they did I forgot.
A colleague of mine mentioned I should use a particular property on a particular class. When I went to use it, it did not show up in IntelliSense. I mentioned this to my very clever friend, who pointed out the following option to me. Apparently the property I was trying to access via IntelliSense was flagged by the developer as an advanced member.
If you have members in a class that you want to be treated as advanced, use the following attribute;
EditorBrowsable(EditorBrowsableState.Advanced)
If you would like to receive an email when updates are made to this post, please register here