共用方式為


Number.ByteValue Method

Definition

Returns the value of the specified number as a byte.

[Android.Runtime.Register("byteValue", "()B", "GetByteValueHandler")]
public virtual sbyte ByteValue ();
[<Android.Runtime.Register("byteValue", "()B", "GetByteValueHandler")>]
abstract member ByteValue : unit -> sbyte
override this.ByteValue : unit -> sbyte

Returns

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

Attributes

Remarks

Returns the value of the specified number as a byte.

Added in 1.1.

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

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