JSONArray.OptJSONObject(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
若值存在且為 JSONObject,則回傳 。index
[Android.Runtime.Register("optJSONObject", "(I)Lorg/json/JSONObject;", "GetOptJSONObject_IHandler")]
public virtual Org.Json.JSONObject? OptJSONObject(int index);
[<Android.Runtime.Register("optJSONObject", "(I)Lorg/json/JSONObject;", "GetOptJSONObject_IHandler")>]
abstract member OptJSONObject : int -> Org.Json.JSONObject
override this.OptJSONObject : int -> Org.Json.JSONObject
參數
- index
- Int32
傳回
- 屬性
備註
若值存在且為 JSONObject,則回傳 。index 否則會回傳 null。
的 org.json.JSONArray.optJSONObject(int)Java 檔。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。