Gets the line number in the XML document that contains the error. If the property value is zero, there is no information about the line number.

Syntax

public int LineNumber { get; }
Public ReadOnly Property LineNumber() As Integer

Limitations

Read only.