JsonElement.Item[Int32] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果当前值为 ,则获取指定索引处的值 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
参数
- index
- Int32
项索引。
属性值
指定索引处的值。
例外
index 不在 [0, GetArrayLength()() 范围内。