Utf8JsonReader.GetComment Método

Definición

Analiza el valor del token JSON actual del origen como comentario y lo transcodifica como .String

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

Devoluciones

Comentario que representa el valor del token JSON actual.

Excepciones

El token JSON no es un comentario.

Comentarios

Esto solo es aplicable cuando el lector se construye mediante la Allow opción . De lo contrario, nunca TokenType será Comment.

Se aplica a

Consulte también