Skip to content

IJsonDocument.GetDbSize Method

Definition

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

GetDbSize(int, bool)

Gets the size of the database for the element at the specified index.

public abstract int GetDbSize(int index, bool includeEndElement)

Parameters

Name Type Description
index int The index of the element.
includeEndElement bool Whether to include the end element in the size.

Returns

int

The size of the database.

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