Muokkaa

Jaa


JsonElement.Item[Int32] Property

Definition

Gets the value at the specified index if the current value is an Array.

public:
 property System::Text::Json::JsonElement default[int] { System::Text::Json::JsonElement get(int index); };
public System.Text.Json.JsonElement this[int index] { get; }
member this.Item(int) : System.Text.Json.JsonElement
Default Public ReadOnly Property Item(index As Integer) As JsonElement

Parameters

index
Int32

The item index.

Property Value

The value at the specified index.

Exceptions

index is not in the range [0, GetArrayLength()()).

The parent JsonDocument has been disposed.

Applies to