共用方式為


JsonIgnoreAttribute.Condition 屬性

定義

取得或設定在忽略屬性之前必須符合的條件。

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

屬性值

備註

預設值是 Always

適用於