共用方式為


JsonSerializerOptions.UnmappedMemberHandling 屬性

定義

取得或設定 物件,指定在還原序列化物件類型時如何處理 JsonSerializer 無法對應至特定 .NET 成員的 JSON 屬性。

public:
 property System::Text::Json::Serialization::JsonUnmappedMemberHandling UnmappedMemberHandling { System::Text::Json::Serialization::JsonUnmappedMemberHandling get(); void set(System::Text::Json::Serialization::JsonUnmappedMemberHandling value); };
public System.Text.Json.Serialization.JsonUnmappedMemberHandling UnmappedMemberHandling { get; set; }
member this.UnmappedMemberHandling : System.Text.Json.Serialization.JsonUnmappedMemberHandling with get, set
Public Property UnmappedMemberHandling As JsonUnmappedMemberHandling

屬性值

適用於