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

Syntax

[Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Ljava/lang/Integer;", "")]
public static Integer ValueOf (string string)

See Also

Integer.ParseInt(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.

[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