Megosztás a következőn keresztül:


Number.ShortValue Method

Definition

Returns the value of the specified number as a short.

[Android.Runtime.Register("shortValue", "()S", "GetShortValueHandler")]
public virtual short ShortValue ();
[<Android.Runtime.Register("shortValue", "()S", "GetShortValueHandler")>]
abstract member ShortValue : unit -> int16
override this.ShortValue : unit -> int16

Returns

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

Attributes

Remarks

Returns the value of the specified number as a short.

Added in 1.1.

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

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