Method ToInt16
ToInt16()
Attempts to convert JSON value to short.
Declaration
public short ToInt16()
Returns
Type | Description |
---|---|
System. |
Converted short value. |
Exceptions
Type | Condition |
---|---|
System. |
The exception that is thrown when the format of an argument is invalid, or when a composite format string is not well formed. |
System. |
The exception that is thrown for invalid casting or explicit conversion. |
System. |
The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow. |