Editar

Partilhar via


JsonArray.IndexOf(JsonNode) Method

Definition

The object to locate in the JsonArray.

public:
 virtual int IndexOf(System::Text::Json::Nodes::JsonNode ^ item);
public int IndexOf (System.Text.Json.Nodes.JsonNode? item);
abstract member IndexOf : System.Text.Json.Nodes.JsonNode -> int
override this.IndexOf : System.Text.Json.Nodes.JsonNode -> int
Public Function IndexOf (item As JsonNode) As Integer

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