O'Reilly logo

VB.NET Language in a Nutshell, Second Edition by Steven Roman PhD, Paul Lomax, Ron Petrusha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Obsolete Attribute

Class

System.ObsoleteAttribute

Applies to

Class, Struct, Enum, Constructor, Method, Property, Field, Event, Interface, and Delegate (i.e., all program elements except parameters and return values)

Description

Indicates that the program element is obsolete and either is deprecated or no longer supported

Constructors

New([[message], error])
message (String)

Provides a message that can contain workarounds or alternate program elements

error (Boolean)

Indicates whether the compiler generates an error if the program element is used

Properties

IsError (Boolean)

Read-only. Indicates whether the compiler generates an error if the program element is used. Default value is False.

Message (String)

Read-only. A message to be displayed to the programmer that indicates workarounds or alternate program elements.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required