Android Guides | Samples

Java.Lang.Short.LongValue Method

Returns this object's value as a long.

Syntax

[Android.Runtime.Register("longValue", "()J", "")]
public override Int64 LongValue ()

Remarks

Returns this object's value as a long. Might involve rounding and/or truncating the value, so it fits into a long.

[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