Utf8JsonReader.GetUInt64 Method

Definition

Important

This API is not CLS-compliant.

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

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

Returns

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

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 UInt64.MinValue or greater than UInt64.MaxValue.

Applies to

See also