CompilerError.Line Property

Definition

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

public:
 property int Line { int get(); void set(int value); };
public int Line { get; set; }
member this.Line : int with get, set
Public Property Line As Integer

Property Value

The line number of the source file where the compiler encountered the error.

Applies to