JsonArray.Item[Int32] Propiedad

Definición

Obtiene o establece el elemento en el índice especificado.

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

Parámetros

index
Int32

Índice de base cero del elemento que se va a obtener o establecer.

Valor de propiedad

Elemento en el índice especificado.

Implementaciones

Comentarios

Nota

El System.Json espacio de nombres se diseñó para Silverlight, que ya no se admite. Para procesar JSON, se recomienda usar las API en el System.Text.Json espacio de nombres en su lugar.

Se aplica a