Skip to content

IJsonDocument.GetPropertyCount Method

Definition

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

GetPropertyCount(int)

Gets the number of properties for the element at the specified index.

public abstract int GetPropertyCount(int index)

Parameters

Name Type Description
index int The index of the element.

Returns

int

The number of properties.

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