Op Englesch liesen Editéieren

Deelen iwwer


JsonNode.GetElementIndex Method

Definition

Returns the index of the current node from the parent JsonArray.

C#
public int GetElementIndex();

Returns

The index of the current node.

Exceptions

The current parent is not a JsonArray.

Applies to

Produkt Versiounen
.NET 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)