- The Obsolete attribute is short for System.ObsoleteAttribute
- The Obsolete attribute lets you mark a program element as obsolete.
It has this general form:
A second form of Obsolete is shown here:
- error is a Boolean value.
- If error is true, then the obsolete item generates a compilation error rather than a warning.