JsonPropertyInfo.ObjectCreationHandling プロパティ

定義

逆シリアル化中にプロパティまたはフィールドを置換または設定するかどうかを示す値を取得または設定します。

public:
 property Nullable<System::Text::Json::Serialization::JsonObjectCreationHandling> ObjectCreationHandling { Nullable<System::Text::Json::Serialization::JsonObjectCreationHandling> get(); void set(Nullable<System::Text::Json::Serialization::JsonObjectCreationHandling> value); };
public System.Text.Json.Serialization.JsonObjectCreationHandling? ObjectCreationHandling { get; set; }
member this.ObjectCreationHandling : Nullable<System.Text.Json.Serialization.JsonObjectCreationHandling> with get, set
Public Property ObjectCreationHandling As Nullable(Of JsonObjectCreationHandling)

プロパティ値

注釈

このプロパティの初期値は、プロパティに JsonObjectCreationHandlingAttribute 属性が存在する場合に基づいています。 nullすると、設定するプロパティ コンバーターの機能と、包含型のPreferredPropertyObjectCreationHandling値とPreferredObjectCreationHandling値に基づいて、効果的な処理が解決されます。

適用対象