Share via


ObsoleteAttribute.IsError Property

Gets a Boolean value that indicates whether the compiler will treat the use of the obsolete program element as an error.

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

Syntax

public bool IsError { get; }

Property Value

true if the use of the obsolete element is considered an error; otherwise, false. Note that the default return value is false.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

ObsoleteAttribute Class
ObsoleteAttribute Members
System Namespace