Skip to content

DefaultValueJsonDocument.TryGetValue Method

Definition

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

Overloads

Method Description
TryGetValue(int, byte[])
TryGetValue(int, sbyte)
TryGetValue(int, byte)
TryGetValue(int, short)
TryGetValue(int, ushort)
TryGetValue(int, int)
TryGetValue(int, uint)
TryGetValue(int, long)
TryGetValue(int, ulong)
TryGetValue(int, double)
TryGetValue(int, float)
TryGetValue(int, decimal)
TryGetValue(int, BigInteger)
TryGetValue(int, BigNumber)
TryGetValue(int, DateTime)
TryGetValue(int, DateTimeOffset)
TryGetValue(int, OffsetDateTime)
TryGetValue(int, OffsetDate)
TryGetValue(int, OffsetTime)
TryGetValue(int, LocalDate)
TryGetValue(int, Period)
TryGetValue(int, Guid)
TryGetValue(int, Int128)
TryGetValue(int, UInt128)
TryGetValue(int, Half)
TryGetValue(int, DateOnly)
TryGetValue(int, TimeOnly)

TryGetValue(int, byte[])

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out byte[] value)

Parameters

Name Type Description
index int
value byte[]

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, sbyte)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out sbyte value)

Parameters

Name Type Description
index int
value sbyte

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, byte)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out byte value)

Parameters

Name Type Description
index int
value byte

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, short)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out short value)

Parameters

Name Type Description
index int
value short

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, ushort)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out ushort value)

Parameters

Name Type Description
index int
value ushort

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, int)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out int value)

Parameters

Name Type Description
index int
value int

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, uint)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out uint value)

Parameters

Name Type Description
index int
value uint

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, long)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out long value)

Parameters

Name Type Description
index int
value long

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, ulong)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out ulong value)

Parameters

Name Type Description
index int
value ulong

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, double)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out double value)

Parameters

Name Type Description
index int
value double

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, float)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out float value)

Parameters

Name Type Description
index int
value float

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, decimal)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out decimal value)

Parameters

Name Type Description
index int
value decimal

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, BigInteger)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out BigInteger value)

Parameters

Name Type Description
index int
value BigInteger

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, BigNumber)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out BigNumber value)

Parameters

Name Type Description
index int
value BigNumber

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, DateTime)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out DateTime value)

Parameters

Name Type Description
index int
value DateTime

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, DateTimeOffset)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out DateTimeOffset value)

Parameters

Name Type Description
index int
value DateTimeOffset

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, OffsetDateTime)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out OffsetDateTime value)

Parameters

Name Type Description
index int
value OffsetDateTime

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, OffsetDate)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out OffsetDate value)

Parameters

Name Type Description
index int
value OffsetDate

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, OffsetTime)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out OffsetTime value)

Parameters

Name Type Description
index int
value OffsetTime

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, LocalDate)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out LocalDate value)

Parameters

Name Type Description
index int
value LocalDate

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, Period)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out Period value)

Parameters

Name Type Description
index int
value Period

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, Guid)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out Guid value)

Parameters

Name Type Description
index int
value Guid

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

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

TryGetValue(int, Int128)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out Int128 value)

Parameters

Name Type Description
index int
value Int128

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

Product Versions
.NET 9, 10

TryGetValue(int, UInt128)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out UInt128 value)

Parameters

Name Type Description
index int
value UInt128

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

Product Versions
.NET 9, 10

TryGetValue(int, Half)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out Half value)

Parameters

Name Type Description
index int
value Half

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

Product Versions
.NET 9, 10

TryGetValue(int, DateOnly)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out DateOnly value)

Parameters

Name Type Description
index int
value DateOnly

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

Product Versions
.NET 9, 10

TryGetValue(int, TimeOnly)

Source: DefaultValueJsonDocument.cs

public bool TryGetValue(int index, out TimeOnly value)

Parameters

Name Type Description
index int
value TimeOnly

Returns

bool

Implements

IJsonDocument.TryGetValue

Applies To

Product Versions
.NET 9, 10

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