다음을 통해 공유


Utf8JsonReader.GetComment 메서드

정의

소스에서 주석으로 현재 JSON 토큰 값을 구문 분석하여 String으로 트랜스코딩합니다.

public:
 System::String ^ GetComment();
public string GetComment ();
member this.GetComment : unit -> string
Public Function GetComment () As String

반환

String

현재 JSON 토큰 값을 나타내는 주석입니다.

예외

JSON 토큰이 주석이 아닙니다.

설명

이 옵션은 옵션을 사용하여 Allow 판독기를 생성할 때만 적용됩니다. 그렇지 않으면 절대 그렇지 TokenType 않습니다 Comment.

적용 대상

추가 정보