Editare

Partajați prin


JsonNode.GetElementIndex Method

Definition

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

public:
 int GetElementIndex();
public int GetElementIndex ();
member this.GetElementIndex : unit -> int
Public Function GetElementIndex () As Integer

Returns

The index of the current node.

Exceptions

The current parent is not a JsonArray.

Applies to