Utf8JsonReader.GetSingle Método

Definição

Lê o próximo valor de token JSON da fonte e analisa-o para um Single.Reads the next JSON token value from the source and parses it to a Single.

public:
 float GetSingle();
public float GetSingle ();
member this.GetSingle : unit -> single
Public Function GetSingle () As Single

Retornos

Single

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

Exceções

O valor do token JSON não é um Number.The JSON token value isn't a Number.

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