Skip to content

ComplexValueBuilder.OverwriteAndDispose Method

Definition

Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll
Source: ComplexValueBuilder.cs

OverwriteAndDispose(int, int, int, int, ref MetadataDb)

Overwrites a range of data in the specified MetadataDb with the built data and disposes this builder.

public void OverwriteAndDispose(int complexObjectStartIndex, int startIndex, int endIndex, int memberCountToReplace, ref MetadataDb targetData)

Parameters

Name Type Description
complexObjectStartIndex int The start index of the complex object in the target database.
startIndex int The start index of the range to overwrite.
endIndex int The end index of the range to overwrite.
memberCountToReplace int The number of members to replace.
targetData ref MetadataDb The target metadata database to receive the data.

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