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; }

Limitations

Read only.