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

适用于