JsonElement.GetUInt64 Metodo

Definizione

Importante

Questa API non è conforme a CLS.

Ottiene il numero JSON corrente come UInt64.

public:
 System::UInt64 GetUInt64();
[System.CLSCompliant(false)]
public ulong GetUInt64 ();
[<System.CLSCompliant(false)>]
member this.GetUInt64 : unit -> uint64
Public Function GetUInt64 () As ULong

Restituisce

Numero JSON corrente come UInt64.

Attributi

Eccezioni

ValueKind per questo valore non è Number.

Il valore non può essere rappresentato come un UInt64.

L'elemento JsonDocument padre è stato eliminato.

Commenti

Questo metodo non analizza il contenuto di un valore stringa JSON.

Si applica a