Android Guides | Samples

Java.Lang.Short Constructor

Constructs a new Short from the specified string.

Syntax

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public Short (String string)

See Also

Parameters

string

Exceptions

TypeReason
NumberFormatExceptionif string cannot be parsed as a short value.

Remarks

Constructs a new Short from the specified string.

[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