Utf8JsonReader.GetByte Metodo

Definizione

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

public:
 System::Byte GetByte();
public byte GetByte();
member this.GetByte : unit -> byte
Public Function GetByte () As Byte

Valori restituiti

Valore del token con codifica UTF-8.

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 Byte.MinValue o maggiore di Byte.MaxValue.

Si applica a

Vedi anche