共用方式為


ScriptIgnoreAttribute.ApplyToOverrides 屬性

定義

取得或設定是否要覆寫 ScriptIgnoreAttribute,讓 JavaScriptSerializer 來決定公用屬性或公用欄位的序列化。

public:
 property bool ApplyToOverrides { bool get(); void set(bool value); };
public bool ApplyToOverrides { get; set; }
member this.ApplyToOverrides : bool with get, set
Public Property ApplyToOverrides As Boolean

屬性值

true 表示覆寫 ScriptIgnoreAttribute,否則為 false

適用於