語言

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。

適用於