共用方式為


Long.ParseUnsignedLong Method

Definition

Overloads

ParseUnsignedLong(String)

Parses the string argument as an unsigned decimal long.

ParseUnsignedLong(String, Int32, Int32, Int32)

Parses the CharSequence argument as an unsigned long in the specified radix, beginning at the specified beginIndex and extending to endIndex - 1.

ParseUnsignedLong(String, Int32)

Parses the string argument as an unsigned long in the radix specified by the second argument.

ParseUnsignedLong(ICharSequence, Int32, Int32, Int32)

Parses the CharSequence argument as an unsigned long in the specified radix, beginning at the specified beginIndex and extending to endIndex - 1.

ParseUnsignedLong(String)

Parses the string argument as an unsigned decimal long.

[Android.Runtime.Register("parseUnsignedLong", "(Ljava/lang/String;)J", "", ApiSince=26)]
public static long ParseUnsignedLong (string s);
[<Android.Runtime.Register("parseUnsignedLong", "(Ljava/lang/String;)J", "", ApiSince=26)>]
static member ParseUnsignedLong : string -> int64

Parameters

s
String

a String containing the unsigned long representation to be parsed

Returns

the unsigned long value represented by the decimal string argument

Attributes

Remarks

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

ParseUnsignedLong(String, Int32, Int32, Int32)

Parses the CharSequence argument as an unsigned long in the specified radix, beginning at the specified beginIndex and extending to endIndex - 1.

public static long ParseUnsignedLong (string s, int beginIndex, int endIndex, int radix);
static member ParseUnsignedLong : string * int * int * int -> int64

Parameters

s
String

the CharSequence containing the unsigned long representation to be parsed

beginIndex
Int32

the beginning index, inclusive.

endIndex
Int32

the ending index, exclusive.

radix
Int32

the radix to be used while parsing s.

Returns

the unsigned long represented by the subsequence in the specified radix.

Remarks

Java documentation for java.lang.Long.parseUnsignedLong(java.lang.CharSequence, int, int, int).

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

ParseUnsignedLong(String, Int32)

Parses the string argument as an unsigned long in the radix specified by the second argument.

[Android.Runtime.Register("parseUnsignedLong", "(Ljava/lang/String;I)J", "", ApiSince=26)]
public static long ParseUnsignedLong (string s, int radix);
[<Android.Runtime.Register("parseUnsignedLong", "(Ljava/lang/String;I)J", "", ApiSince=26)>]
static member ParseUnsignedLong : string * int -> int64

Parameters

s
String

the String containing the unsigned integer representation to be parsed

radix
Int32

the radix to be used while parsing s.

Returns

the unsigned long represented by the string argument in the specified radix.

Attributes

Remarks

Java documentation for java.lang.Long.parseUnsignedLong(java.lang.String, int).

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

ParseUnsignedLong(ICharSequence, Int32, Int32, Int32)

Parses the CharSequence argument as an unsigned long in the specified radix, beginning at the specified beginIndex and extending to endIndex - 1.

[Android.Runtime.Register("parseUnsignedLong", "(Ljava/lang/CharSequence;III)J", "", ApiSince=33)]
public static long ParseUnsignedLong (Java.Lang.ICharSequence s, int beginIndex, int endIndex, int radix);
[<Android.Runtime.Register("parseUnsignedLong", "(Ljava/lang/CharSequence;III)J", "", ApiSince=33)>]
static member ParseUnsignedLong : Java.Lang.ICharSequence * int * int * int -> int64

Parameters

s
ICharSequence

the CharSequence containing the unsigned long representation to be parsed

beginIndex
Int32

the beginning index, inclusive.

endIndex
Int32

the ending index, exclusive.

radix
Int32

the radix to be used while parsing s.

Returns

the unsigned long represented by the subsequence in the specified radix.

Attributes

Remarks

Java documentation for java.lang.Long.parseUnsignedLong(java.lang.CharSequence, int, int, int).

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