Utf8JsonReader.GetSByte Method
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.
Important
This API is not CLS-compliant.
Parses the current JSON token value from the source as an SByte.
public:
System::SByte GetSByte();
[System.CLSCompliant(false)]
public sbyte GetSByte();
[<System.CLSCompliant(false)>]
member this.GetSByte : unit -> sbyte
Public Function GetSByte () As SByte
The UTF-8 encoded token value parsed to an SByte.
- Attributes
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 SByte.MinValue or greater than SByte.MaxValue.
Produkt | Versioner |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: