Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


JsonArray.IndexOf(JsonNode) Method

Definition

The object to locate in the JsonArray.

C#
public int IndexOf(System.Text.Json.Nodes.JsonNode? item);

Parameters

item
JsonNode

The JsonNode to locate in the JsonArray.

Returns

The index of item if found in the list; otherwise, -1.

Implements

Applies to

Termék Verziók
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)