JsonReaderOptions.CommentHandling Właściwość

Definicja

Pobiera lub ustawia wartość określającą sposób Utf8JsonReader obsługi komentarzy podczas odczytywania danych JSON.

public:
 property System::Text::Json::JsonCommentHandling CommentHandling { System::Text::Json::JsonCommentHandling get(); void set(System::Text::Json::JsonCommentHandling value); };
public System.Text.Json.JsonCommentHandling CommentHandling { get; set; }
member this.CommentHandling : System.Text.Json.JsonCommentHandling with get, set
Public Property CommentHandling As JsonCommentHandling

Wartość właściwości

Jedna z wartości wyliczenia wskazująca sposób obsługi komentarzy.

Wyjątki

Właściwość jest ustawiana na wartość, która nie jest elementem członkowskim JsonCommentHandling wyliczenia.

Uwagi

Domyślnie czytelnik zgłasza komunikat JsonException , jeśli napotka komentarz.

Dotyczy