JsonArray.Item[Int32] Właściwość

Definicja

Pobiera lub ustawia element pod określonym indeksem.

public:
 property System::Json::JsonValue ^ default[int] { System::Json::JsonValue ^ get(int index); void set(int index, System::Json::JsonValue ^ value); };
public override sealed System.Json.JsonValue this[int index] { get; set; }
member this.Item(int) : System.Json.JsonValue with get, set
Default Public Overrides NotOverridable Property Item(index As Integer) As JsonValue

Parametry

index
Int32

Liczony od zera indeks elementu do pobrania lub ustawienia.

Wartość właściwości

Element pod określonym indeksem.

Implementuje

Uwagi

Uwaga

Przestrzeń nazw została zaprojektowana System.Json dla programu Silverlight, który nie jest już obsługiwany. W przypadku przetwarzania kodu JSON zalecamy zamiast tego używanie interfejsów API w System.Text.Json przestrzeni nazw.

Dotyczy