Partager via


ObsoleteAttribute Members

The following tables list the members exposed by the ObsoleteAttribute type.

Public Constructors

Name Description
Public Method ObsoleteAttribute Overloaded. Initializes a new instance of the ObsoleteAttribute class.

Public Properties

Name Description
Public Property IsError Gets a Boolean value that indicates whether the compiler will treat the use of the obsolete program element as an error.
Public Property Message Gets the work-around message, which describes the alternative program elements that you can use.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

See Also

Reference

ObsoleteAttribute Class
System Namespace