Utf8JsonReader.GetInt16 Metodo

Definizione

Analizza il valore corrente del token JSON dall'origine come .Int16

public:
 short GetInt16();
public short GetInt16();
member this.GetInt16 : unit -> int16
Public Function GetInt16 () As Short

Valori restituiti

Valore del token con codifica UTF-8 analizzato in un oggetto Int16.

Eccezioni

Il valore del token JSON non è .Number

Il formato numerico del valore del token JSON non è corretto, ad esempio contiene un valore frazionaria o è scritto in notazione scientifica.

oppure

Il valore del token JSON rappresenta un numero minore di Int16.MinValue o maggiore di Int16.MaxValue.

Si applica a

Vedi anche