This documentation is archived and is not being maintained.
XmlException.LineNumber Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the line number indicating where the error occurred.
Namespace:
System.Xml
Assembly:
System.Xml (in System.Xml.dll)
'Declaration
Public ReadOnly Property LineNumber As Integer
Property Value
Type:
System.Int32The line number indicating where the error occurred.
Version Notes
Windows Phone
The
LineNumber value is incorrect in Windows Phone.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0