LineNumber Property

Json.NET

Json.NET - Quick Starts & API Documentation LineNumber Property
NamespacesNewtonsoft.JsonJsonTextReaderLineNumber
Gets the current line number.
Declaration Syntax
C# Visual Basic Visual C++
public int LineNumber { get; }
Public ReadOnly Property LineNumber As Integer
	Get
public:
virtual property int LineNumber {
	int get () sealed;
}
Value
The current line number or 0 if no line information is available (for example, HasLineInfo returns false).

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)