Utf8JsonReader.GetUInt32 Method

Definition

Important

This API is not CLS-compliant.

Reads the next JSON token value from the source and parses it to a UInt32.

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

Returns

The UTF-8 encoded token value parsed to a UInt32.

Attributes

Exceptions

The JSON token value isn't a Number.

The JSON token value is of the incorrect numeric format. For example, it contains a decimal or is written in scientific notation.

-or-

The JSON token value represents a number less than UInt32.MinValue or greater than UInt32.MaxValue.

Applies to

See also