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

适用于