Reader. Get Int16 Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses the current JSON token value from the source as a Int16.
public: short GetInt16();
public short GetInt16 ();
member this.GetInt16 : unit -> int16
Public Function GetInt16 () As Short
The UTF-8 encoded token value parsed to an Int16.
The value of the JSON token is not a Number.
The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).
The JSON token value represents a number less than Int16.MinValue or greater than Int16.MaxValue.