JsonElement.TryGetInt64(Int64) Método
Definição
public:
bool TryGetInt64([Runtime::InteropServices::Out] long % value);
public bool TryGetInt64 (out long value);
member this.TryGetInt64 : int64 -> bool
Public Function TryGetInt64 (ByRef value As Long) As Boolean
Parâmetros
- value
- Int64
Quando esse método é retornado, ele contém o valor do inteiro de 64 bits equivalente ao número JSON atual.When this method returns, contains the 64-bit integer value equivalent to the current JSON number.
Retornos
true se o número puder ser representado como um Int64; caso contrário, false.true if the number can be represented as a Int64; otherwise, false.
Exceções
O JsonDocument pai foi descartado.The parent JsonDocument has been disposed.
Comentários
Esse método não analisa o conteúdo de um valor de cadeia de caracteres JSON.This method does not parse the contents of a JSON string value.