Utf8JsonReader.GetSByte Método

Definição

Importante

Esta API não está em conformidade com CLS.

Analisa o valor do token JSON atual da fonte como um SByte.Parses the current JSON token value from the source as an SByte.

public:
 System::SByte GetSByte();
[System.CLSCompliant(false)]
public sbyte GetSByte ();
[<System.CLSCompliant(false)>]
member this.GetSByte : unit -> sbyte
Public Function GetSByte () As SByte

Retornos

SByte

O valor do token codificado em UTF-8 analisado para um SByte.The UTF-8 encoded token value parsed to an SByte.

Atributos

Exceções

O valor do token JSON não é um Number.The value of the JSON token is not a Number.

O formato numérico do valor do token JSON está incorreto (por exemplo, contém um valor fracionário ou está escrito em notação científica).The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).

- ou --or-

O valor do token JSON representa um número menor que MinValue ou maior que MaxValue.The JSON token value represents a number less than MinValue or greater than MaxValue.

Aplica-se a

Confira também