Long.Decode(String) Method

Definition

Decodes a String into a Long.

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

Parameters

nm
String

the String to decode.

Returns

a Long object holding the long value represented by nm

Attributes

Exceptions

if string cannot be parsed as a long value.

Remarks

Java documentation for java.lang.Long.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