JsonElement.GetUInt16 메서드

정의

Important

이 API는 CLS 규격이 아닙니다.

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

public:
 System::UInt16 GetUInt16();
[System.CLSCompliant(false)]
public ushort GetUInt16();
[<System.CLSCompliant(false)>]
member this.GetUInt16 : unit -> uint16
Public Function GetUInt16 () As UShort

반품

현재 JSON 번호입니다 UInt16.

특성

예외

이 값은 ValueKind 아닙니다 Number.

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

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

설명

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

적용 대상