Utf8JsonReader.GetByte 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.
Parses the current JSON token value from the source as a Byte.
public:
System::Byte GetByte();
public byte GetByte ();
member this.GetByte : unit -> byte
Public Function GetByte () As Byte
Returns
The value of the UTF-8 encoded token.
Exceptions
The value of the JSON token is not a Number.
The numeric format of the JSON token value is incorrect (for example, it contains a fractional value or is written in scientific notation).
-or-
The JSON token value represents a number less than Byte.MinValue or greater than Byte.MaxValue.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for