Java.Lang.Short.ValueOf Method
Returns a Short instance for the specified short value.

Syntax

[Android.Runtime.Register("valueOf", "(S)Ljava/lang/Short;", "")]
public static Short ValueOf (short s)

Parameters

s
the short value to store in the instance.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a Short instance for the specified short value.

If it is not necessary to get a new Short instance, it is recommended to use this method instead of the constructor, since it maintains a cache of instances which may result in better performance.

[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