| JsonTextReaderLineNumber Property |
Gets the current line number.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public int LineNumber { get; }
Property Value
Type:
Int32
The current line number or 0 if no line information is available (for example,
HasLineInfo returns
false).
Implements
IJsonLineInfoLineNumberSee Also