Utf8JsonReader.GetUInt32 Metod

Definition

Viktigt!

Detta API uppfyller inte CLS.

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

public:
 System::UInt32 GetUInt32();
[System.CLSCompliant(false)]
public uint GetUInt32();
[<System.CLSCompliant(false)>]
member this.GetUInt32 : unit -> uint32
Public Function GetUInt32 () As UInteger

Returer

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

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 UInt32.MinValue eller större än UInt32.MaxValue.

Gäller för

Se även