System.Xml.XmlException.LineNumber Property

Gets the line number indicating where the error occurred.

Syntax

public int LineNumber { get; }

Value

A int containing the line number where the error occurred.

Remarks

This property is read-only.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0