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、設定するプロパティ コンバーターの機能と、格納されている型の と PreferredObjectCreationHandling 値に基づいて、効果的な処理がPreferredPropertyObjectCreationHandling解決されます。

適用対象