CompilerError.Line Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.