Export (0) Print
Expand All

CompilerError.Line Property

Gets or sets the line number where the source of the error occurs.

Namespace:  System.CodeDom.Compiler
Assembly:  System (in System.dll)

public int Line { get; set; }

Property Value

Type: System.Int32
The line number of the source file where the compiler encountered the error.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft