Utf8JsonReader.GetComment 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從來源將目前 JSON 權杖值剖析為註解,並已將其轉碼為 String。
public:
System::String ^ GetComment();
public string GetComment ();
member this.GetComment : unit -> string
Public Function GetComment () As String
傳回
-
String
表示目前 JSON 權杖值的註解。
例外狀況
備註
這只適用于使用 Allow 選項建構讀取器時。 否則, TokenType 永遠不會是 Comment 。
適用於
另請參閱