Standing on the shoulders of giants. RSS 2.0
# Saturday, July 26, 2008

When you mark a class as obsolete, you should also mark your class with the EditorBrowsable attribute to prevent it from showing up in IntelliSense.

[Obsolete("Old class no longer supported.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class OldClass
{
    //....
}
Saturday, July 26, 2008 11:32:53 AM (W. Europe Daylight Time, UTC+02:00)  #    Comments [0] - Trackback
Codesnippet
Comments are closed.
About
© Copyright 2008
Paul van Brenk
Sign In
newtelligence dasBlog 2.3.8275.16006
All Content © 2008, Paul van Brenk
DasBlog theme 'Business' created by Christoph De Baene (delarou)