JsonReaderOptions.CommentHandling プロパティ

定義

JSON データを読み取るときに Utf8JsonReader がコメントを処理する方法を決定する値を取得または設定します。

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

プロパティ値

コメントの処理方法を示す列挙値の 1 つ。

例外

プロパティは、 JsonCommentHandling 列挙体のメンバーではない値に設定されています。

注釈

既定では、コメントが検出された場合、リーダーは JsonException をスローします。

適用対象