Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ObsoleteAttribute Constructor

 

Initializes a new instance of the ObsoleteAttribute class.

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

NameDescription
System_CAPS_pubmethodObsoleteAttribute()

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

System_CAPS_pubmethodObsoleteAttribute(String^)

Initializes a new instance of the ObsoleteAttribute class with a specified workaround message.

System_CAPS_pubmethodObsoleteAttribute(String^, Boolean)

Initializes a new instance of the ObsoleteAttribute class with a workaround message and a Boolean value indicating whether the obsolete element usage is considered an error.

Return to top
Show:
© 2017 Microsoft