Android Guides | Samples

Java.Lang.Short.ValueOf Method

Parses the specified string as a signed decimal short value.

Syntax

[Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Ljava/lang/Short;", "")]
public static Short ValueOf (String string)

See Also

Parameters

string
the string representation of a short value.

Exceptions

TypeReason
NumberFormatExceptionif string cannot be parsed as a short value.

Remarks

Parses the specified string as a signed decimal short value.

[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