Utf8JsonReader.GetUInt64 Metod

Definition

Viktigt!

Detta API uppfyller inte CLS.

Läser nästa JSON-tokenvärde från källan och parsar det till en UInt64.

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

Returer

Det UTF-8-kodade tokenvärdet parsat till en UInt64.

Attribut

Undantag

JSON-tokenvärdet är inte en Number.

JSON-tokenvärdet har felaktigt numeriskt format. Den innehåller till exempel en decimal eller skrivs i vetenskaplig notation.

-eller-

JSON-tokenvärdet representerar ett tal som är mindre än UInt64.MinValue eller större än UInt64.MaxValue.

Gäller för

Se även