Skip to content

DefaultValueJsonDocument.TryGetLine Method

Definition

Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll

Overloads

Method Description
TryGetLine(int, ReadOnlyMemory<byte>)
TryGetLine(int, string?)

TryGetLine(int, ReadOnlyMemory<byte>)

Source: DefaultValueJsonDocument.cs

public bool TryGetLine(int lineNumber, out ReadOnlyMemory<byte> line)

Parameters

Name Type Description
lineNumber int
line ReadOnlyMemory<byte>

Returns

bool

Implements

IJsonDocument.TryGetLine

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

TryGetLine(int, string?)

Source: DefaultValueJsonDocument.cs

public bool TryGetLine(int lineNumber, out string? line)

Parameters

Name Type Description
lineNumber int
line string?

Returns

bool

Implements

IJsonDocument.TryGetLine

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue