Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

JsonException.LineNumber Property

Definition

Namespace:
System.Text.Json
Assembly:
System.Text.Json.dll
Package:
System.Text.Json v11.0.0-preview.5.26302.115
Source:
JsonException.cs
Source:
JsonException.cs
Source:
JsonException.cs
Source:
JsonException.cs
Source:
JsonException.cs
Source:
JsonException.cs
Source:
JsonException.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the zero-based number of lines read before the exception.

public:
 property Nullable<long> LineNumber { Nullable<long> get(); };
public long? LineNumber { get; }
member this.LineNumber : Nullable<int64>
Public ReadOnly Property LineNumber As Nullable(Of Long)

Property Value

The zero-based number of lines read before the exception.

Applies to


Feedback

Was this page helpful?