Partager via


Number.LongValue Method

Definition

Returns the value of the specified number as a long.

[Android.Runtime.Register("longValue", "()J", "GetLongValueHandler")]
public abstract long LongValue ();
[<Android.Runtime.Register("longValue", "()J", "GetLongValueHandler")>]
abstract member LongValue : unit -> int64

Returns

the numeric value represented by this object after conversion to type long.

Attributes

Remarks

Returns the value of the specified number as a long.

Java documentation for java.lang.Number.longValue().

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