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:
property int Line {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

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

.NET Framework
Available since 1.1
Return to top
Show: