Java.Lang.Integer.ParseInt Method
Parses the specified string as a signed decimal integer value.

Syntax

[Android.Runtime.Register("parseInt", "(Ljava/lang/String;)I", "")]
public static int ParseInt (string string)

Parameters

string
the string representation of an integer value.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NumberFormatExceptionif string cannot be parsed as an integer value.

Remarks

Parses the specified string as a signed decimal integer value. The ASCII characters - ('-') and + ('+') are recognized as the minus and plus signs.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1