共用方式為


Short.ToString(Int16) Method

Definition

Returns a new String object representing the specified short.

[Android.Runtime.Register("toString", "(S)Ljava/lang/String;", "")]
public static string? ToString (short s);
[<Android.Runtime.Register("toString", "(S)Ljava/lang/String;", "")>]
static member ToString : int16 -> string

Parameters

s
Int16

the short to be converted

Returns

the string representation of the specified short

Attributes

Remarks

Returns a new String object representing the specified short. The radix is assumed to be 10.

Java documentation for java.lang.Short.toString(short).

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