Partager via


Long.ToHexString(Int64) Method

Definition

Returns a string representation of the long argument as an unsigned integer in base 16.

[Android.Runtime.Register("toHexString", "(J)Ljava/lang/String;", "")]
public static string ToHexString (long i);
[<Android.Runtime.Register("toHexString", "(J)Ljava/lang/String;", "")>]
static member ToHexString : int64 -> string

Parameters

i
Int64

a long to be converted to a string.

Returns

the string representation of the unsigned long value represented by the argument in hexadecimal (base&nbsp;16).

Attributes

Remarks

Java documentation for java.lang.Long.toHexString(long).

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