JsonElement.Item[Int32] Własność
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Pobiera wartość w określonym indeksie, jeśli bieżąca wartość to 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
Parametry
- index
- Int32
Indeks elementu.
Wartość nieruchomości
Wartość w określonym indeksie.
Wyjątki
index nie znajduje się w zakresie [0, GetArrayLength()()).
Element nadrzędny JsonDocument został usunięty.