Integer.Decode(String) Method

Definition

Decodes a String into an Integer.

[Android.Runtime.Register("decode", "(Ljava/lang/String;)Ljava/lang/Integer;", "")]
public static Java.Lang.Integer Decode (string nm);
[<Android.Runtime.Register("decode", "(Ljava/lang/String;)Ljava/lang/Integer;", "")>]
static member Decode : string -> Java.Lang.Integer

Parameters

nm
String

the String to decode.

Returns

Integer

an Integer object holding the int value represented by nm

Attributes

Exceptions

if string cannot be parsed as an integer value.

Remarks

Java documentation for java.lang.Integer.decode(java.lang.String).

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.

Applies to