JsonArray.Item[Int32] 屬性

定義

在指定的索引位置上取得或設定項目。

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

參數

index
Int32

要取得或設定的以零為起始元素索引。

屬性值

在指定索引上的項目。

實作

備註

注意

命名空間 System.Json 是針對不再支援的 Silverlight 所設計。 若要處理 JSON,建議您改用 命名空間中的 System.Text.Json API。

適用於