JSONArray.GetString(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, coercing it if
necessary.
[Android.Runtime.Register("getString", "(I)Ljava/lang/String;", "GetGetString_IHandler")]
public virtual string? GetString (int index);
[<Android.Runtime.Register("getString", "(I)Ljava/lang/String;", "GetGetString_IHandler")>]
abstract member GetString : int -> string
override this.GetString : int -> string
Parameters
- index
- Int32
Returns
- Attributes
Exceptions
if no such value exists.
Remarks
Returns the value at index
if it exists, coercing it if necessary.
Java documentation for org.json.JSONArray.getString(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.