Utf8JsonReader.GetDecimal Metod

Definition

Läser nästa JSON-tokenvärde från källan och parsar det till en Decimal.

public:
 System::Decimal GetDecimal();
public decimal GetDecimal();
member this.GetDecimal : unit -> decimal
Public Function GetDecimal () As Decimal

Returer

Det UTF-8-kodade tokenvärdet parsat till en Decimal.

Undantag

JSON-tokenvärdet är inte en Number.

JSON-tokenvärdet representerar ett tal som är mindre än Decimal.MinValue eller större än Decimal.MaxValue.

Gäller för

Se även