JsonReaderOptions.CommentHandling Propriété

Définition

Obtient ou définit une valeur qui détermine comment Utf8JsonReader gère les commentaires lors de la lecture des données 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

Valeur de propriété

JsonCommentHandling

Une des valeurs d’énumération qui indique comment les commentaires sont gérés.

Exceptions

La propriété est actuellement définie avec une valeur qui n’est pas membre de l’énumération JsonCommentHandling.

Remarques

Par défaut, le lecteur lève un JsonException commentaire s’il rencontre un commentaire.

S’applique à