Skip to content

DefaultValueJsonDocument.CloneElement Method

Definition

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

Overloads

Method Description
CloneElement(int)
CloneElement(int)

CloneElement(int)

Source: DefaultValueJsonDocument.cs

public JsonElement CloneElement(int index)

Parameters

Name Type Description
index int

Returns

JsonElement

Implements

IJsonDocument.CloneElement

IJsonDocument.CloneElement

Applies To

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

CloneElement(int)

Source: DefaultValueJsonDocument.cs

public TElement CloneElement<TElement>(int index)
    where TElement : struct, IJsonElement<TElement>

Parameters

Name Type Description
index int

Returns

TElement

Implements

IJsonDocument.CloneElement

IJsonDocument.CloneElement

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