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。

适用于