CompilationSection.DisableObsoleteWarnings 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置是否设置了“编译”部分中的“disableObsoleteWarnings”配置值。
public:
property bool DisableObsoleteWarnings { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("disableObsoleteWarnings", DefaultValue=true)]
public bool DisableObsoleteWarnings { get; set; }
[<System.Configuration.ConfigurationProperty("disableObsoleteWarnings", DefaultValue=true)>]
member this.DisableObsoleteWarnings : bool with get, set
Public Property DisableObsoleteWarnings As Boolean
属性值
true 如果已设置“编译”部分中的“disableObsoleteWarnings”配置值,则为 ;否则,为 false.
- 属性