Java.Lang.Short.ParseShort Method
Parses the specified string as a signed decimal short value.

Syntax

[Android.Runtime.Register("parseShort", "(Ljava/lang/String;)S", "")]
public static short ParseShort (string string)

Parameters

string
the string representation of a short value.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NumberFormatExceptionif string cannot be parsed as a short value.

Remarks

Parses the specified string as a signed decimal short value. The ASCII character - ('-') is recognized as the minus sign.

[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