共用方式為


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

其他資源

專案設計工具、程式碼分析

參考 Automation 組件和 DTE2 物件