WebSiteProperties.FxCopRules 属性

获取或设置用于诊断代码分析 (FxCop) 的规则。 此属性支持代码分析,但不应在代码中使用。

命名空间:  VsWebSite
程序集:  VsWebSite.Interop(在 VsWebSite.Interop.dll 中)

语法

声明
Property FxCopRules As String
    Get
    Set
string FxCopRules { get; set; }
property String^ FxCopRules {
    String^ get ();
    void set (String^ value);
}
abstract FxCopRules : string with get, set
function get FxCopRules () : String
function set FxCopRules (value : String)

属性值

类型:System.String
用于诊断代码分析 (FxCop) 的规则。

.NET Framework 安全性

请参见

参考

WebSiteProperties 接口

VsWebSite 命名空间

System.Diagnostics.CodeAnalysis

EnvDTE

WebSiteProperties

其他资源

“项目设计器”->“代码分析”

引用自动化程序集和 DTE2 对象