แก้ไข

แชร์ผ่าน


JsonIgnoreAttribute.Condition Property

Definition

Gets or sets the condition that must be met before a property will be ignored.

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

Property Value

Remarks

The default value is Always.

Applies to