Utf8JsonReader.GetInt32 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads the next JSON token value from the source and parses it to an Int32.
public:
int GetInt32();
public int GetInt32 ();
member this.GetInt32 : unit -> int
Public Function GetInt32 () As Integer
Returns
The UTF-8 encoded token value parsed to an Int32.
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 Int32.MinValue or greater than Int32.MaxValue.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor