Share via


ObsoleteAttribute Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the ObsoleteAttribute class with default properties.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Sub New
public ObsoleteAttribute()
public:
ObsoleteAttribute()
new : unit -> ObsoleteAttribute
public function ObsoleteAttribute()

Remarks

The following table shows the initial property values for an instance of ObsoleteAttribute.

Property

Value

IsError

false

Message

null Nothing nullptr unit a null reference (Nothing in Visual Basic)

.NET Framework Security

See Also

Reference

ObsoleteAttribute Class

ObsoleteAttribute Overload

System Namespace