DefaultValueJsonDocument.TryGetNamedPropertyValue Method
Definition
Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Overloads
TryGetNamedPropertyValue(int, ReadOnlySpan<char>, JsonElement.Mutable)
Source: DefaultValueJsonDocument.cs
public bool TryGetNamedPropertyValue(int index, ReadOnlySpan<char> propertyName, out JsonElement.Mutable value)
Parameters
| Name | Type | Description |
|---|---|---|
index |
int |
|
propertyName |
ReadOnlySpan<char> |
|
value |
JsonElement.Mutable |
Returns
Implements
IMutableJsonDocument.TryGetNamedPropertyValue
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
TryGetNamedPropertyValue(int, ReadOnlySpan<byte>, JsonElement.Mutable)
Source: DefaultValueJsonDocument.cs
public bool TryGetNamedPropertyValue(int index, ReadOnlySpan<byte> propertyName, out JsonElement.Mutable value)
Parameters
| Name | Type | Description |
|---|---|---|
index |
int |
|
propertyName |
ReadOnlySpan<byte> |
|
value |
JsonElement.Mutable |
Returns
Implements
IMutableJsonDocument.TryGetNamedPropertyValue
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
TryGetNamedPropertyValue(int, ReadOnlySpan<char>, JsonElement)
Source: DefaultValueJsonDocument.cs
public bool TryGetNamedPropertyValue(int index, ReadOnlySpan<char> propertyName, out JsonElement value)
Parameters
| Name | Type | Description |
|---|---|---|
index |
int |
|
propertyName |
ReadOnlySpan<char> |
|
value |
JsonElement |
Returns
Implements
IJsonDocument.TryGetNamedPropertyValue
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
TryGetNamedPropertyValue(int, ReadOnlySpan<byte>, JsonElement)
Source: DefaultValueJsonDocument.cs
public bool TryGetNamedPropertyValue(int index, ReadOnlySpan<byte> propertyName, out JsonElement value)
Parameters
| Name | Type | Description |
|---|---|---|
index |
int |
|
propertyName |
ReadOnlySpan<byte> |
|
value |
JsonElement |
Returns
Implements
IJsonDocument.TryGetNamedPropertyValue
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
TryGetNamedPropertyValue(int, ReadOnlySpan<byte>, TElement)
Source: DefaultValueJsonDocument.cs
public bool TryGetNamedPropertyValue<TElement>(int index, ReadOnlySpan<byte> propertyName, out TElement value)
where TElement : struct, IJsonElement<TElement>
Parameters
| Name | Type | Description |
|---|---|---|
index |
int |
|
propertyName |
ReadOnlySpan<byte> |
|
value |
TElement |
Returns
Implements
IJsonDocument.TryGetNamedPropertyValue
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
TryGetNamedPropertyValue(int, ReadOnlySpan<char>, TElement)
Source: DefaultValueJsonDocument.cs
public bool TryGetNamedPropertyValue<TElement>(int index, ReadOnlySpan<char> propertyName, out TElement value)
where TElement : struct, IJsonElement<TElement>
Parameters
| Name | Type | Description |
|---|---|---|
index |
int |
|
propertyName |
ReadOnlySpan<char> |
|
value |
TElement |
Returns
Implements
IJsonDocument.TryGetNamedPropertyValue
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
TryGetNamedPropertyValue(int, ReadOnlySpan<char>, IJsonDocument?, int)
Source: DefaultValueJsonDocument.cs
public bool TryGetNamedPropertyValue(int index, ReadOnlySpan<char> propertyName, out IJsonDocument? elementParent, out int elementIndex)
Parameters
| Name | Type | Description |
|---|---|---|
index |
int |
|
propertyName |
ReadOnlySpan<char> |
|
elementParent |
IJsonDocument? |
|
elementIndex |
int |
Returns
Implements
IJsonDocument.TryGetNamedPropertyValue
Applies To
| Product | Versions |
|---|---|
| .NET | 9, 10 |
| .NET Standard | 2.0, 2.1 |
TryGetNamedPropertyValue(int, ReadOnlySpan<byte>, IJsonDocument?, int)
Source: DefaultValueJsonDocument.cs
public bool TryGetNamedPropertyValue(int index, ReadOnlySpan<byte> propertyName, out IJsonDocument? elementParent, out int elementIndex)
Parameters
| Name | Type | Description |
|---|---|---|
index |
int |
|
propertyName |
ReadOnlySpan<byte> |
|
elementParent |
IJsonDocument? |
|
elementIndex |
int |
Returns
Implements
IJsonDocument.TryGetNamedPropertyValue
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