JSONArray.GetJSONObject(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回 index
值(如果存在且为 JSONObject
.
[Android.Runtime.Register("getJSONObject", "(I)Lorg/json/JSONObject;", "GetGetJSONObject_IHandler")]
public virtual Org.Json.JSONObject? GetJSONObject (int index);
[<Android.Runtime.Register("getJSONObject", "(I)Lorg/json/JSONObject;", "GetGetJSONObject_IHandler")>]
abstract member GetJSONObject : int -> Org.Json.JSONObject
override this.GetJSONObject : int -> Org.Json.JSONObject
参数
- index
- Int32
返回
- 属性
例外
如果值不存在或不是 JSONObject
。
注解
返回 index
值(如果存在且为 JSONObject
.
适用于 . 的 org.json.JSONArray.getJSONObject(int)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。