JsonElement.GetDecimal 메서드

정의

현재 JSON 번호를 .로 가져옵니다 Decimal.

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

반품

현재 JSON 번호입니다 Decimal.

예외

이 값은 ValueKind 아닙니다 Number.

값을 으로 Decimal나타낼 수 없습니다.

부모가 JsonDocument 삭제되었습니다.

설명

이 메서드는 JSON 문자열 값의 내용을 구문 분석하지 않습니다.

적용 대상

추가 정보