Skip to content

IMutableJsonDocument.TryGetNamedPropertyValue Method

Definition

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

Overloads

Method Description
TryGetNamedPropertyValue(int, ReadOnlySpan<char>, JsonElement.Mutable)
TryGetNamedPropertyValue(int, ReadOnlySpan<byte>, JsonElement.Mutable)

TryGetNamedPropertyValue(int, ReadOnlySpan<char>, JsonElement.Mutable)

Source: IMutableJsonDocument.cs

public abstract bool TryGetNamedPropertyValue(int index, ReadOnlySpan<char> propertyName, out JsonElement.Mutable value)

Parameters

Name Type Description
index int
propertyName ReadOnlySpan<char>
value JsonElement.Mutable

Returns

bool

Applies To

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

TryGetNamedPropertyValue(int, ReadOnlySpan<byte>, JsonElement.Mutable)

Source: IMutableJsonDocument.cs

public abstract bool TryGetNamedPropertyValue(int index, ReadOnlySpan<byte> propertyName, out JsonElement.Mutable value)

Parameters

Name Type Description
index int
propertyName ReadOnlySpan<byte>
value JsonElement.Mutable

Returns

bool

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