Java.Lang.Long.ParseLong Method
Parses the specified string as a signed long value using the specified radix.

Syntax

[Android.Runtime.Register("parseLong", "(Ljava/lang/String;I)J", "")]
public static long ParseLong (string string, int radix)

Parameters

string
the string representation of a long value.
radix
the radix to use when parsing.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NumberFormatExceptionif string cannot be parsed as a long value, or radix Character.MAX_RADIX.

Remarks

Parses the specified string as a signed long value using the specified radix. 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