Partager 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, and 4.1.

See Also

Reference

ObsoleteAttribute Members
System Namespace