JSONArray.GetInt(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the value at index
if it exists and is an int or
can be coerced to an int.
[Android.Runtime.Register("getInt", "(I)I", "GetGetInt_IHandler")]
public virtual int GetInt (int index);
[<Android.Runtime.Register("getInt", "(I)I", "GetGetInt_IHandler")>]
abstract member GetInt : int -> int
override this.GetInt : int -> int
Parameters
- index
- Int32
Returns
- Attributes
Exceptions
if the value at index
doesn't exist or
cannot be coerced to a int.
Remarks
Returns the value at index
if it exists and is an int or can be coerced to an int.
Java documentation for org.json.JSONArray.getInt(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.