IsError Property

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

Gets a Boolean value indicating whether the compiler will treat usage of the obsolete program element as an error.

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

public bool IsError { get; }

Property Value

Type: System..::..Boolean
true if the obsolete element usage is considered an error; otherwise, false. The default is false.

Show: