Obsolete Attribute |
System.ObsoleteAttribute
Class, Struct, Enum, Constructor, Method, Property, Field, Event, Interface, and Delegate (i.e., all program elements except parameters and return values)
Indicates that the program element is obsolete and either is deprecated or no longer supported
New([[ message ], error ])
Provides a message that can contain workarounds or alternate program elements
Indicates whether the compiler generates an error if the program element is used
Read-only. Indicates whether the compiler generates an error if the program element is used. Default value is False .
Read-only. A message to be displayed to the programmer that indicates workarounds or alternate program elements.