JsonObjectCreationHandling Énumération
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine comment la désérialisation gérera la création d’objets pour les champs ou les propriétés.
public enum class JsonObjectCreationHandling
public enum JsonObjectCreationHandling
type JsonObjectCreationHandling =
Public Enum JsonObjectCreationHandling
- Héritage
Nom | Valeur | Description |
---|---|---|
Populate | 1 | Essayez de remplir toutes les instances déjà trouvées sur un champ ou une propriété désérialisé. |
Replace | 0 | Une nouvelle instance est toujours créée lors de la désérialisation d’un champ ou d’une propriété. |
Produit | Versions |
---|---|
.NET | 6, 7, 8, 9 |
.NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :