Share via


ObsoleteAttribute Class

Marks the program elements that are no longer in use.

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

Syntax

[AttributeUsageAttribute]
[SerializableAttribute]
public sealed class ObsoleteAttribute : Attribute

Remarks

This class cannot be inherited.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

ObsoleteAttribute Members
System Namespace