This documentation is archived and is not being maintained.

XmlException.LineNumber Property

Gets the line number indicating where the error occurred.

[Visual Basic]
Public ReadOnly Property LineNumber As Integer
[C#]
public int LineNumber {get;}
[C++]
public: __property int get_LineNumber();
[JScript]
public function get LineNumber() : int;

Property Value

The line number indicating where the error occurred.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

XmlException Class | XmlException Members | System.Xml Namespace

Show: