Utf8JsonReader.TryGetDouble(Double) Método

Definição

Tenta analisar o valor do token JSON atual da origem como um Double e retorna um valor que indica se a operação foi bem-sucedida.Tries to parse the current JSON token value from the source as a Double and returns a value that indicates whether the operation succeeded.

public:
 bool TryGetDouble([Runtime::InteropServices::Out] double % value);
public bool TryGetDouble (out double value);
member this.TryGetDouble : double -> bool
Public Function TryGetDouble (ByRef value As Double) As Boolean

Parâmetros

value
Double

Quando este método retorna, ele contém o valor analisado.When this method returns, contains the parsed value.

Retornos

Boolean

true se o valor do token codificado em UTF-8 inteiro puder ser analisado com êxito para um valor Double; caso contrário, false.true if the entire UTF-8 encoded token value can be successfully parsed to a Double value; otherwise, false.

Exceções

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

Aplica-se a

Confira também